Jiri Slaby 2020-12-08 06:55:01 +00:00 committed by Git OBS Bridge
parent 88ade289c2
commit 5b018d6725
6 changed files with 225 additions and 0 deletions

18
_service Normal file
View File

@ -0,0 +1,18 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="url">git://git.kernel.org/pub/scm/utils/b4/b4.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="revision">@PARENT_TAG@</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service name="set_version" mode="disabled" />
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://git.kernel.org/pub/scm/utils/b4/b4.git</param>
<param name="changesrevision">d13c5e30f00656d91dcd86bec5234da14037eb9b</param></service></servicedata>

3
b4-0.6.1.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9e22c312e24ad44bc6a23cd15f03e1d51fd1e4ef3a9523696fb0cde4acdd049
size 228363

123
b4.changes Normal file
View File

@ -0,0 +1,123 @@
-------------------------------------------------------------------
Tue Dec 08 06:52:43 UTC 2020 - jslaby@suse.cz
- Update to version 0.6.1:
* Add dkimpy and dnspython to install_requires
* Don't crash if dkimpy is not installed
* Try all DKIM headers if failed on the first
* Silence some pycharm warnings
* Fix logic when adding trailers without DKIM sigs
* Limit slug length by 100 characters
* Fix ReST in README.rst
* Move the g= hash back into the XPH header
* Fix logic on git-patch-id hash generation
* Don't give up on attestation if there's no index
* Deal with dupe follow-up trailers sent to cover
* Fix crash when dnspython is not available
* Fix b4 ty auto-matching
* Fix headers generated by "b4 ty"
* man: Drop apostrophe from midmask value
* Properly clean up temporary threadfile
* and much more...
-------------------------------------------------------------------
Wed Dec 02 12:10:32 UTC 2020 - jslaby@suse.cz
- Update to version 0.5.4+0:
* Release 0.5.4 with the fix for b4 ty bug
* Fix b4 ty auto-matching
* Fix headers generated by "b4 ty"
* man: Drop apostrophe from midmask value
* Increment version to 0.5.4-dev
-------------------------------------------------------------------
Fri Nov 27 11:02:21 UTC 2020 - jslaby@suse.cz
- Update to version 0.5.3+0:
* Increment version to 0.5.3 in prep for release
* Unbreak thanks-tracking
* Fix crash on incomplete series thanks tracking
* Improve ty with cherrypicked subsets
* Unquote msgid if we're getting a full https URL
-------------------------------------------------------------------
Mon Nov 23 10:21:55 UTC 2020 - jslaby@suse.cz
- Update to version 0.5.2+9:
* Fix crasher when attempting a 3-way prep
* Fix handling of series with the [PATCHvX] defect
* Fix header encoding introduced by earlier fix
* Fix some cherry-picking corner cases
* Don't crash when no valid patches are found
* Use bytes when dumping to stdout
* Set charset in order to generate MIME headers
-------------------------------------------------------------------
Thu Aug 20 05:30:13 UTC 2020 - jslaby@suse.com
- Update to version 0.5.2+2:
* Require that a trailer is at least 2 chars long
* Cover letters may not have a diffstat
- add requests to Requires
-------------------------------------------------------------------
Tue Jul 28 11:07:40 UTC 2020 - jslaby@suse.com
- Update to version 0.5.2:
* Prepare for 0.5.2 release
* Fix handling of single-paragraph commit message bodies
* Fix basement detection for empty commit message bodies
* Support mbox -m to be a maildir
* man: Update commit url mask to contain 12 chars of ID
* Fix attestation error messages
* Deal with [PATCHvX] subjects
* Fix crash when -c used with incomplete series
* man: Drop the apostrophe from the linkmask configuration
* Fix crash with unbalanced [] in subject
* Fix regression with oddball charsets
* Up the version to 0.5.2-dev
* Prepare for 0.5.1 release
* Fix mbox naming inconsistencies
* Output less confusing trailer mismatch messages
* Fix bug with threading when cover ref is missing
* Fix body part parsing when '---' is not used
* Use proper charset when reading back mailinfo
* Don't output git am suggestion for -o -
* Add --no-cover and -o - to output to stdout
* Use unicode escape sequences
* Up the version to 0.5.1-dev
- switch to obs_scm
- switch to 0.5 stable branch
-------------------------------------------------------------------
Tue Jun 16 06:23:16 UTC 2020 - jslaby@suse.com
- Update to version 0.5.0+git20200612.g5c4ec14b:
* Fix crash with unbalanced [] in subject
* Fix regression with oddball charsets
* Fix mbox naming inconsistencies
* Output less confusing trailer mismatch messages
* Fix bug with threading when cover ref is missing
* Fix body part parsing when '---' is not used
* Use proper charset when reading back mailinfo
-------------------------------------------------------------------
Mon Jun 08 10:57:26 UTC 2020 - jslaby@suse.com
- Update to version 0.5.0+git20200528.g204416b80fbb:
* Don't output git am suggestion for -o -
* Add --no-cover and -o - to output to stdout
-------------------------------------------------------------------
Tue May 26 13:05:22 UTC 2020 - jslaby@suse.com
- Update to version 0.5.0+git20200526.ga926bac9e6c2:
* Use unicode escape sequences
* Up the version to 0.6.0-dev
* Prepare for 0.5.0
* Backfill series before diffing them
-------------------------------------------------------------------
Tue May 26 09:56:21 UTC 2020 - Jiri Slaby <jslaby@suse.com>
- initial package (0.4.0+git20200525.g59be08453137)

5
b4.obsinfo Normal file
View File

@ -0,0 +1,5 @@
name: b4
version: 0.6.1
mtime: 1607377580
commit: d13c5e30f00656d91dcd86bec5234da14037eb9b

72
b4.spec Normal file
View File

@ -0,0 +1,72 @@
#
# spec file for package b4
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python2 1
%define version_unconverted 0.6.1
Name: b4
Version: 0.6.1
Release: 0
Summary: Helper scripts for kernel.org patches
License: GPL-2.0-or-later
Group: Development/Tools/Other
URL: https://git.kernel.org/pub/scm/utils/b4/b4.git
Source0: %{name}-%{version}.tar.xz
BuildArch: noarch
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: tar
Requires: python3-requests
%description
This is a helper utility to work with patches made available via a
public-inbox archive like lore.kernel.org. It is written to make it
easier to participate in a patch-based workflows, like those used in
the Linux kernel development.
The name "b4" was chosen for ease of typing and because B-4 was the
precursor to Lore and Data in the Star Trek universe.
%prep
%autosetup -p1
# ditch shebang from .py files, they are non-executables anyway
sed -i.old '1{/#!.*/d}' b4/*.py
%build
%python_build
%install
install -d %{buildroot}/%{_mandir}/man.5
install -m 0644 -t %{buildroot}/%{_mandir}/man.5 man/b4.5
%python_install
%check
%python_exec setup.py check
export PYTHONPATH="./"
%python_exec ./b4/command.py --version >check_version
echo %version | grep "`cat check_version`"
%files
%doc README.rst
%license COPYING
%{_bindir}/{%name}
%dir %{_mandir}/man.5/
%{_mandir}/man.5/b4.5.gz
%{python_sitelib}/%{name}*
%changelog