-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dist/debian: add trailer line #66
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
%{product}-cqlsh (%{version}-%{release}-%{revision}) %{codename}; urgency=medium | ||
|
||
* New release | ||
|
||
-- Israel Fruchter <[email protected]> %{timestamp} | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
import datetime | ||
import string | ||
import os | ||
import shutil | ||
|
@@ -47,7 +48,13 @@ class DebianFilesTemplate(string.Template): | |
shutil.copytree('dist/debian/debian', 'build/debian/debian') | ||
|
||
s = DebianFilesTemplate(changelog_template) | ||
changelog_applied = s.substitute(product=product, version=version, release=release, revision='1', codename='stable') | ||
now = datetime.datetime.now(tz=datetime.timezone.utc) | ||
changelog_applied = s.substitute(product=product, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this was done on other packages ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i.e. adding timestamp ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (we assumed for long time, that the change log is mostly not touched) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not yet. i created this change in hope to silence the warnings and to comply to the debian packaging policies. will take care of other packages when i have more free cycles. |
||
version=version, | ||
release=release, | ||
revision='1', | ||
codename='stable', | ||
timestamp=now.strftime("%a, %d %b %Y %H:%M:%S %z")) | ||
|
||
s = DebianFilesTemplate(control_template) | ||
control_applied = s.substitute(product=product) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tchaikov nice of you to sign in my name :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was you who created this changelog entry. ;-)