-
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
Conversation
for better readability Signed-off-by: Kefu Chai <[email protected]>
this should address the warnings from dpkg-source and dpkg-parsechangelog, like: ``` dpkg-source: warning: scylla-package/debian/changelog(l3): found end of file where expected more change data or trailer ``` ``` dpkg-parsechangelog: warning: debian/changelog(l3): found end of file where expected more change data or trailer ``` Signed-off-by: Kefu Chai <[email protected]>
@@ -1,3 +1,5 @@ | |||
%{product}-cqlsh (%{version}-%{release}-%{revision}) %{codename}; urgency=medium | |||
|
|||
* New release | |||
|
|||
-- Israel Fruchter <[email protected]> %{timestamp} |
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. ;-)
@@ -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 comment
The 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 comment
The 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 comment
The 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 comment
The 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.
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.
LGTM
this should address the warnings from dpkg-source and
dpkg-parsechangelog, like: