Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openSUSE-release-tools for
openSUSE:Factory checked in at 2022-03-24 22:58:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools"
Thu Mar 24 22:58:20 2022 rev:409 rq:964575 version:20220324.20d1bcbd
Changes:
--------
---
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
2022-03-23 20:21:09.626557197 +0100
+++
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1900/openSUSE-release-tools.changes
2022-03-24 23:00:29.780395100 +0100
@@ -1,0 +2,13 @@
+Thu Mar 24 09:48:32 UTC 2022 - [email protected]
+
+- Update to version 20220324.20d1bcbd:
+ * Add test for remote services in factory-auto
+ * dist: Enable the ability to run services in miniobs
+ * Add test for setBadness in check_source
+ * Move check for generated files from check_source.pl to .py
+ * Move rpmlintrc checking from check_source.pl to .py
+ * Remove diff preparations from check_source.pl
+ * Move service check from check_source.pl to .py
+ * Remove unused repo_checker config entries
+
+-------------------------------------------------------------------
Old:
----
openSUSE-release-tools-20220323.bd336586.obscpio
New:
----
openSUSE-release-tools-20220324.20d1bcbd.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.A0GYWu/_old 2022-03-24 23:00:30.620395911 +0100
+++ /var/tmp/diff_new_pack.A0GYWu/_new 2022-03-24 23:00:30.624395915 +0100
@@ -20,7 +20,7 @@
%define source_dir openSUSE-release-tools
%define announcer_filename factory-package-news
Name: openSUSE-release-tools
-Version: 20220323.bd336586
+Version: 20220324.20d1bcbd
Release: 0
Summary: Tools to aid in staging and release work for openSUSE/SUSE
License: GPL-2.0-or-later AND MIT
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.A0GYWu/_old 2022-03-24 23:00:30.676395965 +0100
+++ /var/tmp/diff_new_pack.A0GYWu/_new 2022-03-24 23:00:30.680395969 +0100
@@ -1,7 +1,7 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param>
- <param
name="changesrevision">bd3365863f090bfe86f03dd73b483431c9ed33f3</param>
+ <param
name="changesrevision">e7c7a4097b8103a79c7e41fd8668616f49acb327</param>
</service>
</servicedata>
++++++ openSUSE-release-tools-20220323.bd336586.obscpio ->
openSUSE-release-tools-20220324.20d1bcbd.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/check_source.pl
new/openSUSE-release-tools-20220324.20d1bcbd/check_source.pl
--- old/openSUSE-release-tools-20220323.bd336586/check_source.pl
2022-03-23 16:41:56.000000000 +0100
+++ new/openSUSE-release-tools-20220324.20d1bcbd/check_source.pl
2022-03-24 10:47:53.000000000 +0100
@@ -17,24 +17,6 @@
my $dir = $ARGV[1];
my $bname = basename($dir);
-if (-f "$dir/_service") {
- my $service = XMLin("$dir/_service", ForceArray => ['service']);
- while( my ($name, $s) = each %{$service->{service}} ) {
- my $mode = $s->{mode} || '';
- next if ($mode eq "localonly" || $mode eq "disabled" || $mode eq
"buildtime" || $mode eq "manual" );
- print "Services are only allowed if they are mode='localonly',
'disabled', 'manual' or 'buildtime'. Please change the mode of $name and use
`osc service localrun/disabledrun`.\n";
- $ret = 1;
- }
- # move it away to have full service from source validator
- rename("$dir/_service", "$dir/_service.bak") || die "rename failed";
-}
-
-for my $file (glob("$dir/_service:*")) {
- $file=basename($file);
- print "Found _service generated file $file in checkout. Please clean this
up first.";
- $ret = 1;
-}
-
my @specs = map basename($_), glob("$dir/*.spec");
if (@specs) {
@@ -240,64 +222,11 @@
}
}
-my $odir2 = getcwd;
my $tmpdir = tempdir("obs-XXXXXXX", TMPDIR => 1, CLEANUP => 1);
chdir($dir) || die 'tempdir failed';
if (system("/usr/lib/obs/service/download_files","--enforceupstream", "yes",
"--enforcelocal", "yes", "--outdir", $tmpdir)) {
print "Source URLs are not valid. Try \"osc service runall
download_files\".\n";
$ret = 2;
}
-chdir($odir2);
-
-for my $rpmlint (glob("$dir/*rpmlintrc")) {
- open(RPMLINTRC, $rpmlint);
- while (<RPMLINTRC>) {
- if (m/^\s*setBadness/) {
- print "For Factory submissions, you cannot use setBadness. Use
filters in $rpmlint.\n";
- $ret = 1;
- }
- }
-}
-
-exit($ret) if $ret;
-
-# now check if the change is small enough to warrent a review-by-mail
-exit(0) unless -d $old;
-
-sub prepare_package($) {
-
- my $files = shift;
-
- unlink glob "*.changes"; # ignore changes
- unlink glob "*.tar.*"; # we can't diff them anyway
- unlink glob "*.zip";
-
- # restore original spec file
- for my $spec (glob("*.beforeurlstrip")) {
- my $oldname = $spec;
- $oldname =~ s/.beforeurlstrip//;
- rename($spec, $oldname);
- }
-
- for my $spec (glob("*.spec")) {
- open(SPEC, "/usr/lib/obs/service/format_spec_file.files/prepare_spec
$spec | grep -v '^#' |");
- my @lines = <SPEC>;
- close(SPEC);
- open(SPEC, ">", $spec);
- print SPEC join('', @lines);
- close(SPEC);
- }
-}
-# move it back so we also diff the service file
-if (-f "$dir/_service.bak") {
- rename("$dir/_service.bak", "$dir/_service") || die "rename failed";
-}
-
-my %files;
-chdir($old);
-prepare_package(\%files);
-chdir($odir2);
-chdir($dir);
-prepare_package(\%files);
-exit(0);
+exit($ret);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/check_source.py
new/openSUSE-release-tools-20220324.20d1bcbd/check_source.py
--- old/openSUSE-release-tools-20220323.bd336586/check_source.py
2022-03-23 16:41:56.000000000 +0100
+++ new/openSUSE-release-tools-20220324.20d1bcbd/check_source.py
2022-03-24 10:47:53.000000000 +0100
@@ -1,5 +1,6 @@
#!/usr/bin/python3
+import glob
import os
import re
import shutil
@@ -48,7 +49,6 @@
self.review_team = config.get('review-team')
self.mail_release_list = config.get('mail-release-list')
self.staging_group = config.get('staging-group')
- self.repo_checker = config.get('repo-checker')
self.required_maintainer = config.get('required-source-maintainer', '')
self.devel_whitelist = config.get('devel-whitelist', '').split()
self.skip_add_reviews = False
@@ -208,6 +208,12 @@
target_package, target_package, new_info['name'])
return False
+ if not self.check_service_file(target_package):
+ return False
+
+ if not self.check_rpmlint(target_package):
+ return False
+
# Run check_source.pl script and interpret output.
source_checker = os.path.join(CheckSource.SCRIPT_PATH,
'check_source.pl')
civs = ''
@@ -253,8 +259,6 @@
message='skipping the
staging process since only .changes modifications')
else:
self.logger.debug('unable to skip staging review since not
a member of staging group')
- elif self.repo_checker is not None:
- self.add_review(self.request, by_user=self.repo_checker,
msg='Please review build success')
return True
@@ -269,6 +273,42 @@
result = osc.core.search(self.apiurl, **search)
return result['package'].attrib['matches'] != '0'
+ def check_service_file(self, directory):
+ ALLOWED_MODES = ['localonly', 'disabled', 'buildtime', 'manual']
+
+ servicefile = os.path.join(directory, '_service')
+ if os.path.exists(servicefile):
+ services = ET.parse(servicefile)
+ for service in services.findall('service'):
+ mode = service.get('mode')
+ if mode in ALLOWED_MODES:
+ continue
+ allowed = ', '.join(ALLOWED_MODES)
+ name = service.get('name')
+ self.review_messages[
+ 'declined'] = f"Services are only allowed if their mode is
one of {allowed}. " + \
+ f"Please change the mode of {name} and use `osc service
localrun/disabledrun`."
+ return False
+ # remove it away to have full service from source validator
+ os.unlink(servicefile)
+
+ for file in glob.glob(os.path.join(directory, "_service:*")):
+ file = os.path.basename(file)
+ self.review_messages['declined'] = f"Found _service generated file
{file} in checkout. Please clean this up first."
+ return False
+
+ return True
+
+ def check_rpmlint(self, directory):
+ for rpmlintrc in glob.glob(os.path.join(directory, "*rpmlintrc")):
+ with open(rpmlintrc, 'r') as f:
+ for line in f:
+ if not re.match(r'^\s*setBadness', line):
+ continue
+ self.review_messages['declined'] = f"For product
submissions, you cannot use setBadness. Use filters in {rpmlintrc}."
+ return False
+ return True
+
def source_has_correct_maintainers(self, source_project):
"""Checks whether the source project has the required maintainer
@@ -413,9 +453,6 @@
if not self.ignore_devel:
self.devel_project_review_ensure(request, action.tgt_project,
action.tgt_package)
- if not self.skip_add_reviews and self.repo_checker is not None:
- self.add_review(self.request, by_user=self.repo_checker, msg='Is
this delete request safe?')
-
return True
def check_linked_package(self, action, linked):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/dist/ci/docker-compose.yml
new/openSUSE-release-tools-20220324.20d1bcbd/dist/ci/docker-compose.yml
--- old/openSUSE-release-tools-20220323.bd336586/dist/ci/docker-compose.yml
2022-03-23 16:41:56.000000000 +0100
+++ new/openSUSE-release-tools-20220324.20d1bcbd/dist/ci/docker-compose.yml
2022-03-24 10:47:53.000000000 +0100
@@ -28,7 +28,7 @@
- cache
- srcserver
- repserver
- - servicedispatch
+ - serviceserver
ports:
- "0.0.0.0:${OSRT_EXPOSED_OBS_PORT:-3000}:3000"
srcserver:
@@ -37,9 +37,9 @@
repserver:
<<: *obs
command: chroot --userspec=obsrun / /usr/lib/obs/server/bs_repserver
- servicedispatch:
+ serviceserver:
<<: *obs
- command: chroot --userspec=obsrun / /usr/lib/obs/server/bs_servicedispatch
+ command: /usr/lib/obs/server/bs_service
smtp:
<<: *testenv
command: python3 /code/dist/ci/smtp/eml-server.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/dist/ci/miniobs/Dockerfile
new/openSUSE-release-tools-20220324.20d1bcbd/dist/ci/miniobs/Dockerfile
--- old/openSUSE-release-tools-20220323.bd336586/dist/ci/miniobs/Dockerfile
2022-03-23 16:41:56.000000000 +0100
+++ new/openSUSE-release-tools-20220324.20d1bcbd/dist/ci/miniobs/Dockerfile
2022-03-24 10:47:53.000000000 +0100
@@ -6,7 +6,8 @@
RUN zypper install -y obs-api obs-worker obs-server \
ca-certificates patch vim vim-data psmisc timezone \
- glibc-locale aaa_base aaa_base-extras netcat net-tools
+ glibc-locale aaa_base aaa_base-extras netcat net-tools \
+ obs-service-recompress obs-service-format_spec_file
COPY database.yml.local /srv/www/obs/api/config/database.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/osclib/conf.py
new/openSUSE-release-tools-20220324.20d1bcbd/osclib/conf.py
--- old/openSUSE-release-tools-20220323.bd336586/osclib/conf.py 2022-03-23
16:41:56.000000000 +0100
+++ new/openSUSE-release-tools-20220324.20d1bcbd/osclib/conf.py 2022-03-24
10:47:53.000000000 +0100
@@ -36,8 +36,6 @@
'devel-project-enforce': 'True',
'review-team': 'opensuse-review-team',
'legal-review-group': 'legal-auto',
- 'repo_checker-no-filter': 'True',
- 'repo_checker-package-comment-devel': 'True',
'pkglistgen-product-family-include': 'openSUSE:Leap:N',
'pkglistgen-locales-from': 'openSUSE.product.in',
'mail-list': '[email protected]',
@@ -87,8 +85,6 @@
'check-source-single-action-require': 'True',
# review-team optionally added by leaper.py.
'repo_checker-arch-whitelist': 'x86_64',
- 'repo_checker-no-filter': 'True',
- 'repo_checker-package-comment-devel': 'True',
# 16 hour staging window for follow-ups since lower throughput.
'splitter-staging-age-max': '57600',
# No special packages since they will pass through SLE first.
@@ -116,8 +112,6 @@
r'openSUSE:(?P<project>Leap:(?P<version>[\d.]+)?:Update)$': {
'main-repo': 'standard',
'repo_checker-arch-whitelist': 'x86_64',
- 'repo_checker-no-filter': 'True',
- 'repo_checker-package-comment-devel': 'True',
'review-install-check': 'maintenance-installcheck',
'review-openqa': 'qam-openqa',
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/tests/OBSLocal.py
new/openSUSE-release-tools-20220324.20d1bcbd/tests/OBSLocal.py
--- old/openSUSE-release-tools-20220323.bd336586/tests/OBSLocal.py
2022-03-23 16:41:56.000000000 +0100
+++ new/openSUSE-release-tools-20220324.20d1bcbd/tests/OBSLocal.py
2022-03-24 10:47:53.000000000 +0100
@@ -1039,6 +1039,10 @@
with open(os.path.join(path, filename), 'rb') as f:
self.create_commit(filename=filename, text=f.read())
+ def wait_services(self):
+ url = osc.core.makeurl(APIURL, ['source', self.project.name,
self.name], {'cmd': 'waitservice'})
+ osc.core.http_POST(url)
+
class Request(object):
"""This class represents a request in the local OBS instance used to test
the release tools and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/tests/check_source_tests.py
new/openSUSE-release-tools-20220324.20d1bcbd/tests/check_source_tests.py
--- old/openSUSE-release-tools-20220323.bd336586/tests/check_source_tests.py
2022-03-23 16:41:56.000000000 +0100
+++ new/openSUSE-release-tools-20220324.20d1bcbd/tests/check_source_tests.py
2022-03-24 10:47:53.000000000 +0100
@@ -234,6 +234,40 @@
self.assertEqual(add_role_req.actions[0].tgt_project, SRC_PROJECT)
self.assertEqual('Created automatically from request %s' % req.reqid,
add_role_req.description)
+ @pytest.mark.usefixtures("default_config")
+ def test_bad_rpmlintrc(self):
+ """Declines a request if it uses setBadness in rpmlintrc"""
+ self._setup_devel_project(devel_files='blowfish-with-rpmlintrc')
+
+ req_id = self.wf.create_submit_request(self.devel_package.project,
+ self.devel_package.name,
add_commit=False).reqid
+
+ self.assertReview(req_id, by_user=(self.bot_user, 'new'))
+
+ self.review_bot.set_request_ids([req_id])
+ self.review_bot.check_requests()
+
+ review = self.assertReview(req_id, by_user=(self.bot_user, 'declined'))
+ self.assertEqual('For product submissions, you cannot use setBadness.
Use filters in blowfish/blowfish-rpmlintrc.', review.comment)
+
+ @pytest.mark.usefixtures("default_config")
+ @pytest.mark.skip(reason="Need the service in miniobs container first")
+ def test_remote_service(self):
+ """Declines _service files with remote services"""
+ self._setup_devel_project(devel_files='blowfish-with-remote-service')
+
+ req_id = self.wf.create_submit_request(self.devel_package.project,
+ self.devel_package.name,
add_commit=False).reqid
+
+ self.assertReview(req_id, by_user=(self.bot_user, 'new'))
+
+ self.review_bot.set_request_ids([req_id])
+ self.review_bot.check_requests()
+
+ review = self.assertReview(req_id, by_user=(self.bot_user, 'declined'))
+ self.assertEqual('Services are only allowed if their mode is one of
localonly, disabled, buildtime, ' +
+ 'manual. Please change the mode of recompress and use
`osc service localrun/disabledrun`.', review.comment)
+
def _setup_devel_project(self, maintainer={},
devel_files='blowfish-with-patch-changes',
target_files='blowfish'):
devel_project = self.wf.create_project(SRC_PROJECT,
maintainer=maintainer)
@@ -241,6 +275,7 @@
fixtures_path = os.path.join(FIXTURES, 'packages', devel_files)
self.devel_package.commit_files(fixtures_path)
+ self.devel_package.wait_services()
fixtures_path = os.path.join(FIXTURES, 'packages', target_files)
self.target_package = OBSLocal.Package('blowfish',
self.wf.projects[PROJECT], devel_project=SRC_PROJECT)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-remote-service/_service
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-remote-service/_service
---
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-remote-service/_service
1970-01-01 01:00:00.000000000 +0100
+++
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-remote-service/_service
2022-03-24 10:47:53.000000000 +0100
@@ -0,0 +1,6 @@
+<services>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ </service>
+</services>
+
Binary files
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-remote-service/blowfish-1.tar
and
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-remote-service/blowfish-1.tar
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-remote-service/blowfish.changes
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-remote-service/blowfish.changes
---
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-remote-service/blowfish.changes
1970-01-01 01:00:00.000000000 +0100
+++
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-remote-service/blowfish.changes
2022-03-24 10:47:53.000000000 +0100
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Wed Sep 22 07:30:53 UTC 2021 - Josef Reidinger <[email protected]>
+
+- just add patch without explicitly mentioning it
+
+-------------------------------------------------------------------
+Thu Jul 8 07:36:30 UTC 2021 - Fisherman <[email protected]>
+
+- Initial version.
+- 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-remote-service/blowfish.spec
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-remote-service/blowfish.spec
---
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-remote-service/blowfish.spec
1970-01-01 01:00:00.000000000 +0100
+++
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-remote-service/blowfish.spec
2022-03-24 10:47:53.000000000 +0100
@@ -0,0 +1,20 @@
+#
+# Copyright (c) 2020 SUSE LLC
+#
+# This file is under MIT license
+
+
+Name: blowfish
+Version: 1
+Release: 0
+Summary: Blowfish
+License: GPL-2.0-only
+URL: https://github.com/openSUSE/cockpit-wicked
+Source: blowfish-1.tar.gz
+Patch1: test.patch
+BuildArch: noarch
+
+%prep
+%patch1
+
+%changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-remote-service/test.patch
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-remote-service/test.patch
---
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-remote-service/test.patch
1970-01-01 01:00:00.000000000 +0100
+++
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-remote-service/test.patch
2022-03-24 10:47:53.000000000 +0100
@@ -0,0 +1 @@
++-
Binary files
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish-1.tar.gz
and
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish-1.tar.gz
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish-rpmlintrc
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish-rpmlintrc
---
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish-rpmlintrc
1970-01-01 01:00:00.000000000 +0100
+++
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish-rpmlintrc
2022-03-24 10:47:53.000000000 +0100
@@ -0,0 +1 @@
+setBadness('script-without-shebang', 2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish.changes
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish.changes
---
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish.changes
1970-01-01 01:00:00.000000000 +0100
+++
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish.changes
2022-03-24 10:47:53.000000000 +0100
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Wed Sep 22 07:30:53 UTC 2021 - Josef Reidinger <[email protected]>
+
+- just add patch without explicitly mentioning it
+
+-------------------------------------------------------------------
+Thu Jul 8 07:36:30 UTC 2021 - Fisherman <[email protected]>
+
+- Initial version.
+- 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish.spec
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish.spec
---
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish.spec
1970-01-01 01:00:00.000000000 +0100
+++
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-rpmlintrc/blowfish.spec
2022-03-24 10:47:53.000000000 +0100
@@ -0,0 +1,20 @@
+#
+# Copyright (c) 2020 SUSE LLC
+#
+# This file is under MIT license
+
+
+Name: blowfish
+Version: 1
+Release: 0
+Summary: Blowfish
+License: GPL-2.0-only
+URL: https://github.com/openSUSE/cockpit-wicked
+Source: blowfish-1.tar.gz
+Patch1: test.patch
+BuildArch: noarch
+
+%prep
+%patch1
+
+%changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-rpmlintrc/test.patch
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-rpmlintrc/test.patch
---
old/openSUSE-release-tools-20220323.bd336586/tests/fixtures/packages/blowfish-with-rpmlintrc/test.patch
1970-01-01 01:00:00.000000000 +0100
+++
new/openSUSE-release-tools-20220324.20d1bcbd/tests/fixtures/packages/blowfish-with-rpmlintrc/test.patch
2022-03-24 10:47:53.000000000 +0100
@@ -0,0 +1 @@
++-
++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.A0GYWu/_old 2022-03-24 23:00:31.472396733 +0100
+++ /var/tmp/diff_new_pack.A0GYWu/_new 2022-03-24 23:00:31.476396738 +0100
@@ -1,5 +1,5 @@
name: openSUSE-release-tools
-version: 20220323.bd336586
-mtime: 1648050116
-commit: bd3365863f090bfe86f03dd73b483431c9ed33f3
+version: 20220324.20d1bcbd
+mtime: 1648115273
+commit: 20d1bcbd1ba0e47e938070d545cbe5946f70c0ae