Skip to content

Commit

Permalink
Fixed changelog reference commit
Browse files Browse the repository at this point in the history
An old reference commit was used which has to be updated because
a manual change to the .changes file on obs was done :(
  • Loading branch information
schaefi committed Nov 12, 2019
1 parent 05121b9 commit f45f250
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
7 changes: 5 additions & 2 deletions helper/update_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@
log_lines = gitlog.readlines()

if arguments['--since']:
# append empty commit to prevent loosing log data if
# only one commit of change was found
log_lines.append(b'commit')
# Iterate over log data and convert to changelog format
for line_data in log_lines:
line = line_data.decode(encoding='utf-8')
Expand Down Expand Up @@ -131,11 +134,11 @@
for author_date in reversed(sorted(log_data.keys())):
if date_reference:
if date_reference < author_date:
sys.stdout.write(log_data[author_date])
sys.stdout.write(log_data[author_date] + os.linesep)
else:
skip_list.append(author_date)
else:
sys.stdout.write(log_data[author_date])
sys.stdout.write(log_data[author_date] + os.linesep)
else:
for line_data in log_lines:
line = line_data.decode(encoding='utf-8')
Expand Down
12 changes: 6 additions & 6 deletions package/suse-migration-sle15-activation.changes.ref
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
commit cc3f0b43dabc45166559953c037dc1fa68ec40af
Author: Marcus Schäfer <ms@suse.de>
AuthorDate: Thu May 2 15:14:31 2019 +0200
Commit: Marcus Schäfer <ms@suse.de>
CommitDate: Thu May 2 15:14:31 2019 +0200
commit 9c1d0f22bfe3e74975fe76a50b8029d5a7325a52
Author: Jesus Bermudez Velazquez <jesus.bv@suse.com>
AuthorDate: Tue Aug 20 11:39:04 2019 +0100
Commit: Jesus Bermudez Velazquez <jesus.bv@suse.com>
CommitDate: Tue Aug 20 11:39:04 2019 +0100

Reference commit for SUSE maintenance

This submission creates a reference to fate#327175 and bsc#1133919
Fix BYOS upgrade from 12SP4-SAP to 15 (BSC#1142108)

0 comments on commit f45f250

Please sign in to comment.