public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bup] f44: Retire because Python 2 is being retired in Fedora 32
@ 2026-10-30 14:55
0 siblings, 0 replies; only message in thread
From: @ 2026-10-30 14:55 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bup
Branch : f44
Commit : 2b965ce2edaaa53326824af3606a06089c21a84d
Author : Tadej Janež <tadej.j@nez.si>
Date : 2019-09-13T11:11:30+02:00
Stats : +19/-533 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/bup/c/2b965ce2edaaa53326824af3606a06089c21a84d?branch=f44
Log:
Retire because Python 2 is being retired in Fedora 32
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index a2f1c29..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/bup-d612d9a599590cb53a76711754f9e031f66a330a.tar.gz
-/bup-0.28.1.tar.gz
-/bup-0.29.tar.gz
-/bup-0.29.1.tar.gz
-/bup-0.29.2.tar.gz
diff --git a/README-bup-web.Fedora.md b/README-bup-web.Fedora.md
deleted file mode 100644
index cb0db5d..0000000
--- a/README-bup-web.Fedora.md
+++ /dev/null
@@ -1,82 +0,0 @@
-Notes on Fedora bup-web Package
-===============================
-
-The bup-web package provides the `bup web` command which runs a web server for
-browsing through bup repositories.
-For convenience, it also provides a systemd unit file for running `bup web`
-as a service with the systemd user instance (i.e. `systemd --user`).
-
-
-Usage
------
-
-### Managing systemd user service
-
-*NOTE: All commands should be executed as an ordinary (non-root) user.*
-
-To enable the bup-web user service, execute:
-
- systemctl --user enable bup-web.service
-
-To start the bup-web user service, execute:
-
- systemctl --user start bup-web.service
-
-To see the status of the bup-web user service, execute:
-
- systemctl --user status bup-web.service
-
-To stop the bup-web user service, execute:
-
- systemctl --user stop bup-web.service
-
-To disable the bup-web user service, execute:
-
- systemctl --user disable bup-web.service
-
-### Browsing bup repositories
-
-Open your web browser and go to:
-
- 127.0.0.1:8080
-
-*NOTE: By default, bup-web only accepts requests from local clients.
-To expose it to whole network, add `0.0.0.0:<port-number>` to its command line.
-For more details on editing bup-web's configuration, see the next section.*
-
-
-Configuration
--------------
-
-Currently, bup-web user service can only be configured by manually editing its
-systemd unit file.
-
-If you've previously enabled bup-web user service, disable it with:
-
- systemctl --user disable bup-web.service
-
-Then copy the package-provided unit file to your systemd user instance
-configuration directory:
-
- cp /usr/lib/systemd/user/bup-web.service ~/.config/systemd/user/
-
-Edit the unit file to suit your needs.
-
-Finally, enable the bup-web user service with:
-
- systemctl --user enable bup-web.service
-
-
-Troubleshooting
----------------
-
-If the bup-web user service fails to start, examine its journal records by
-executing:
-
- journalctl --user-unit bup-web.service
-
-
-Authors
--------
-
-Tadej Janež
diff --git a/README.Fedora.md b/README.Fedora.md
deleted file mode 100644
index 24aee0d..0000000
--- a/README.Fedora.md
+++ /dev/null
@@ -1,73 +0,0 @@
-Notes on Fedora bup Package
-===========================
-
-The `bup-web` functionality is removed in Fedora 31+
-----------------------------------------------------
-
-Starting with Fedora 31, Tornado doesn't support Python 2 anymore. Hence,
-`bup-web` which requires it, can't be packaged anymore. For more info, see:
-https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/APMXYFWAMC3HIM6R2FVJBR3TUEDDMJ76/
-
-
-Changes requiring attention when upgrading from 0.29 to 0.29.1
---------------------------------------------------------------
-
-- Running `gc` command with a `--threshold` of `0` no longer runs the risk of
- corrupting the repository. (The default threshold is `10`).
- Previously, `gc` could delete a packfile after rewriting it when the packfile
- didn't change.
-
-Changes requiring attention when upgrading from 0.28.1 to 0.29
---------------------------------------------------------------
-
-- The index format has been adjusted to handle a larger number of entries,
- which will trigger a full index rebuild on the next index update, making that
- run more expensive than usual.
-
-- The `gc` command should now clean up its temporary bloom filters, but filters
- created by earlier invocations may still exist in your repositories in the
- `objects/pack/` directory as `tmp-gc-*.bloom` files. It should be safe to
- delete these files when no bup commands are running.
-
-For the complete list of changes and bug fixes, consult:
-- %{_pkgdocdir}/0.29-from-0.28.1.md.
-
-Changes requiring attention when upgrading from 0.27 to 0.28.1
---------------------------------------------------------------
-
-- The index format has changed, which will trigger a full index rebuild on the
- next index run, making that run more expensive than usual.
-
-- When given `--xdev`, `bup save` should no longer skip directories that are
- explicitly listed on the command line when the directory is both on a
- separate filesystem, and a subtree of another path listed on the command
- line. Previously `bup save --xdev / /usr` could skip "/usr" if it was on a
- separate filesystem from "/".
-
-- Tags along a branch are no longer shown in the branch's directory in
- the virtual filesystem (VFS). For example, given `bup tag special
- /foo/latest`, "/foo/special" will no longer be visible via `bup ls`,
- `bup web`, `bup fuse`, etc., but the tag will still be available as
- "/.tag/special".
-
-- In version 0.27 (and previous versions), a `--sparse` restore might have
- produced incorrect data. Please treat any existing `--sparse` restores as
- suspect. The problem should be fixed in version 0.27.1.
-
-For the complete list of changes and bug fixes, consult:
-- %{_pkgdocdir}/0.28.1-from-0.28.md,
-- %{_pkgdocdir}/0.28-from-0.27.1.md,
-- %{_pkgdocdir}/0.27.1-from-0.27.md.
-
-The `par2` support in `bup fsck` is enabled in versions >= 0.28.1
------------------------------------------------------------------
-
-Support for generating and/or using "recovery blocks" with the external `par2`
-tool in `bup fsck` command is enabled again since the new version of
-par2cmdline package (>= 0.6.14) provides a working version of `par2` tool.
-
-
-Authors
--------
-
-Tadej Janež
diff --git a/bup-web.service b/bup-web.service
deleted file mode 100644
index b0c96ce..0000000
--- a/bup-web.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Web server for browsing through bup repositories
-Documentation=man:bup-web(1) file:/usr/share/doc/bup-web/README.Fedora.md
-After=network.target
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/bup web
-Restart=on-failure
-
-[Install]
-WantedBy=default.target
diff --git a/bup.spec b/bup.spec
deleted file mode 100644
index cc748a0..0000000
--- a/bup.spec
+++ /dev/null
@@ -1,360 +0,0 @@
-# render_template(src, dest):
-# Renders the source template (using %%expand macro) and copies it to the
-# destination path.
-# Arguments:
-# - src: path of the source template to render
-# - dest: path of the destination file
-%define render_template()\
-if [[ %# -ne 2 ]]; then\
- echo "Invalid number of arguments to %0 macro: %#"\
- exit 1\
-fi\
-cat << 'EOF' > %2\
-%{expand:%(cat %1)}\
-EOF
-
-%global gittag 0.29.2
-
-%if 0%{?fedora} >= 31
-# NOTE: Tornado in Fedora 31+ doesn't support Python 2 anymore, so bup-web
-# can't be packaged anymore. For more info, see:
-# https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/APMXYFWAMC3HIM6R2FVJBR3TUEDDMJ76/
-%bcond_with bup_web
-%else
-%bcond_without bup_web
-%endif
-
-Name: bup
-Version: %{gittag}
-Release: 5%{?dist}
-Summary: Very efficient backup system based on the git packfile format
-
-# all of the code is licensed as GNU Lesser General Public License v2, except:
-# - lib/bup/bupsplit.c: BSD License (two clause),
-# - lib/bup/bupsplit.h: BSD License (two clause),
-# - lib/bup/options.py: BSD License (two clause),
-# - definition of relpath() function in wvtest.py: Python License
-License: LGPLv2 and BSD and Python
-URL: https://bup.github.io/
-Source0: https://github.com/bup/bup/archive/%{gittag}/bup-%{version}.tar.gz
-Source1: README.Fedora.md
-Source2: bup-web.service
-Source3: README-bup-web.Fedora.md
-
-BuildRequires: gcc
-BuildRequires: python2-devel
-BuildRequires: git-core
-# Required for building documentation
-BuildRequires: pandoc
-%if %{with bup_web}
-# Required for preparing systemd service for 'bup web' command
-BuildRequires: systemd
-%endif
-# Required for running tests
-BuildRequires: par2cmdline
-BuildRequires: perl(Getopt::Long)
-BuildRequires: perl(Pod::Usage)
-BuildRequires: perl(Time::HiRes)
-%if 0%{?fedora} >= 28
-BuildRequires: python2-pyxattr
-%else
-BuildRequires: pyxattr
-%endif
-BuildRequires: pylibacl
-%if %{with bup_web}
-BuildRequires: python2-tornado
-%endif
-BuildRequires: rsync
-
-Requires: git-core
-%if 0%{?fedora} >= 28
-Requires: python2-pyxattr
-%else
-Requires: pyxattr
-%endif
-Requires: pylibacl
-# Only required for 'bup fuse' command
-%if 0%{?fedora} >= 28
-Requires: python2-fuse
-%else
-Requires: fuse-python
-%endif
-# Only required for 'bup fsck' command
-Requires: par2cmdline
-
-%if 0%{?fedora} >= 31
-# Remove bup-web subpackage from previous installations.
-Obsoletes: bup-web < 0.29.2-4
-%endif
-
-%description
-Very efficient backup system based on the git packfile format, providing fast
-incremental saves and global deduplication (among and within files, including
-virtual machine images). Some of its features are:
-* It uses a rolling checksum algorithm and hence it can backup huge files
- incrementally.
-* It uses packfile format from git, so one can access the stored data even if
- he doesn't like bup's user interface.
-* It writes packfiles directly so it is fast even with huge amounts of data:
- it can track millions of files and keep track of hundreds or thousands of
- gigabytes of objects.
-* Data is "automagically" shared between incremental backups without having to
- know which backup is based on which other one.
-* One can make a backup directly to a remote bup server, without needing tons
- of temporary disk space on the computer being backed up. If the backup is
- interrupted halfway through, the next run will pick up where the previous
- backup left off.
-* It can use "par2" redundancy to recover corrupted backups even if the disk
- has undetected bad sectors.
-* Each incremental backup acts as if it's a full backup, it just takes less
- disk space.
-* One can mount a bup repository as a FUSE filesystem and access the contents
- that way, or even export it over Samba.
-
-%if %{with bup_web}
-#
-# bup-web
-#
-%package web
-License: LGPLv2
-Summary: Web server for browsing through bup repositories
-URL: https://bup.github.io/
-Requires: %{name}%{?_isa} = %{version}-%{release}
-Requires: python2-tornado
-Requires(post): systemd
-Requires(preun): systemd
-Requires(postun): systemd
-
-%description web
-Provides the "bup web" command which runs a web server for browsing through
-bup repositories.
-%endif
-
-
-%prep
-%autosetup -S git
-
-
-%build
-# Remove .git/ directory otherwise bup's make command fails with:
-# error: detected release, but found ./.git
-# Makefile:43: *** Version configuration failed. Stop
-rm -r .git/
-
-# NOTE: We can't use %%configure since bup uses a non-standard configure script
-# which is executed during the execution of the make command.
-# To configure the build process, we need to pass environment variables to the
-# make command.
-%make_build CFLAGS="%{build_cflags}"
-
-%render_template %{SOURCE1} %{_builddir}/%{buildsubdir}/%{basename:%SOURCE1}
-%if %{with bup_web}
-%render_template %{SOURCE3} %{_builddir}/%{buildsubdir}/%{basename:%SOURCE3}
-%endif
-
-
-%install
-# NOTE: Since bup uses a non-standard configure script, which doesn't support
-# specifying distro-specific paths of the variables defined below, we need to
-# manually pass variables to the make command.
-%make_install \
- PREFIX=%{_prefix} \
- MANDIR=%{_mandir} \
- DOCDIR=%{_pkgdocdir} \
- BINDIR=%{_bindir} \
- LIBDIR=%{_libdir}/%{name}
-
-# Fix hard-coded libdir location in bup's executable
-sed -i 's|/lib/bup|/%{_lib}/bup|' %{buildroot}%{_bindir}/bup
-
-%if %{with bup_web}
-# Install systemd unit file for bup-web.
-mkdir -p %{buildroot}%{_userunitdir}
-install -p -m 0644 %{SOURCE2} %{buildroot}%{_userunitdir}
-%else
-# Remove bup-web related stuff.
-rm %{buildroot}/%{_libdir}/%{name}/cmd/bup-web
-rm -r %{buildroot}/%{_libdir}/%{name}/web
-rm %{buildroot}/%{_mandir}/man1/bup-web.1*
-rm %{buildroot}/%{_pkgdocdir}/bup-web.html
-%endif
-
-
-# Install READMEs and Notable changes manually
-# NOTE: This is necessary since mixing the %%doc with relative paths and
-# installation of files directly into %%_pkgdocdir in the same source package
-# is forbidden. For more details, see:
-# https://fedoraproject.org/wiki/Packaging:Guidelines#Documentation
-install -p -m 0644 README.md %{buildroot}%{_pkgdocdir}
-install -p -m 0644 README*.Fedora.md %{buildroot}%{_pkgdocdir}
-install -p -m 0644 note/*.md %{buildroot}%{_pkgdocdir}
-
-
-%check
-# Run the built-in test suite containing 4200+ tests.
-# NOTE: The bup-web tests will automatically skip if Tornado is not present.
-%make_build test
-
-
-%if %{with bup_web}
-%post web
-%systemd_user_post bup-web.service
-
-
-%preun web
-%systemd_user_preun bup-web.service
-
-
-%postun web
-%systemd_user_postun_with_restart bup-web.service
-
-
-%files web
-%{_libdir}/%{name}/cmd/bup-web
-%{_libdir}/%{name}/web/
-%{_userunitdir}/bup-web.service
-%{_mandir}/man1/bup-web.1*
-%{_pkgdocdir}/bup-web.html
-%{_pkgdocdir}/README-bup-web.Fedora.md
-%endif
-
-%files
-%license LICENSE
-%{_bindir}/%{name}
-%{_libdir}/%{name}/
-%if %{with bup_web}
-%exclude %{_libdir}/%{name}/cmd/bup-web
-%exclude %{_libdir}/%{name}/web/
-%endif
-%{_mandir}/man1/%{name}.1*
-%{_mandir}/man1/%{name}-*.1*
-%if %{with bup_web}
-%exclude %{_mandir}/man1/bup-web.1*
-%endif
-%{_pkgdocdir}/
-%if %{with bup_web}
-%exclude %{_pkgdocdir}/bup-web.html
-%exclude %{_pkgdocdir}/README-bup-web.Fedora.md
-%endif
-
-
-%changelog
-* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.2-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Mon Jun 10 2019 Tadej Janež <tadej.j@nez.si> - 0.29.2-4
-- Remove bup-web functionality in Fedora 31+. This accounts for the fact that
- Tornado in F31+ doesn't support Python 2 anymore.
-
-* Thu Feb 07 2019 Tadej Janež <tadej.j@nez.si> - 0.29.2-3
-- Use %%{build_cflags} to specify the C compiler flags (i.e. CFLAGS). This
- will properly account for
- https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
-
-* Wed Feb 06 2019 Tadej Janež <tadej.j@nez.si> - 0.29.2-2
-- Use %%{extension_cflags} to specify the C compiler flags (i.e. CFLAGS) to
- account for https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
-
-* Fri Feb 01 2019 Tadej Janež <tadej.j@nez.si> - 0.29.2-1
-- Update to version 0.29.2
-- Remove obsolete patches
-
-* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Wed Aug 01 2018 Tadej Janež <tadej.j@nez.si> - 0.29.1-2
-- Use older version of pyxattr (build) requirement on Fedora < 28
-
-* Thu Jul 26 2018 Tadej Janež <tadej.j@nez.si> - 0.29.1-1
-- Update to version 0.29.1
-- Add patches that backport fixes for test-rm tests that make them work with
- older and newer versions of git
-- Simplify SourceURL handling to only use the %%gittag macro (renamed from
- %%gittag0)
-
-* Sat Jul 21 2018 Tadej Janež <tadej.j@nez.si> - 0.29-9
-- Add gcc to BuildRequires to account for
- https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
- (resolves https://bugzilla.redhat.com/1603530)
-
-* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.29-8
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Mon Mar 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.29-7
-- Update Python 2 dependency declarations to new packaging standards
- (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
-
-* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.29-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Aug 21 2017 Tadej Janež <tadej.j@nez.si> - 0.29-5
-- Explicitly require python2- prefixed Python packages when available
- (python2-fuse on Fedora 28+, python2-tornado)
-- Drop work-around for broken %%systemd_user_post macro in Fedora < 24
-- Add rsync BuildRequirement needed for running tests
-
-* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.29-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.29-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.29-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Tue Jan 10 2017 Tadej Janež <tadej.j@nez.si> 0.29-1
-- Updated to 0.29 release.
-- Replaced 'git' requirement with 'git-core' which provides just core git with
- minimal extra dependencies (e.g. doesn't require numerous Perl modules).
-- Added missing Perl BuildRequirements masked by the full 'git' install:
- - perl(Getopt::Long)
- - perl(Pod::Usage)
-- Updated spec file:
- - Use %%{basename: ...} when rendering README templates.
-
-* Tue Dec 27 2016 Tadej Janež <tadej.j@nez.si> 0.28.1-1
-- Updated to 0.28.1 release.
-- Enabled 'par2' support in 'bup fsck'.
-- Made tests run in parallel.
-- Packaged HTML documentation.
-- Dropped all patches.
-- Updated and modernized spec file:
- - Use %%make_build macro.
- - Use %%make_install macro.
- - Simplify %%make_install part since bup now properly implements DESTDIR
- environment variable.
- - Stop mixing the %%doc with relative paths and installation of files
- directly into %%_pkgdocdir.
- - Use %%systemd_user_post macro on Fedora 24+.
- - Implement and use %%render_template macro to render READMEs containing
- RPM macros using %%expand macro.
- - Add additional BuildRequires needed by tests.
- - Follow the latest SourceURL packaging guidelines and reference git tag
- instead of commit revision in Source0 URL.
- - Drop special prerelease handling.
-
-* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Mon Dec 14 2015 Tadej Janež <tadej.j@nez.si> 0.27-1
-- Initial release in Fedora 22+ and EPEL 7.
-- Added a workaround for an %%autosetup bug on EPEL 7.
-
-* Fri Dec 04 2015 Tadej Janež <tadej.j@nez.si> 0.27-0.4
-- Made bup-web subpackage Requires on the base package arch-specific.
-
-* Mon Nov 23 2015 Tadej Janež <tadej.j@nez.si> 0.27-0.3
-- Split bup web server into a separate sub-package.
-- Added systemd service for running the bup web server.
-- Added a work-around for a bug in systemd's %%systemd_user_post macro.
-- Added a README with Fedora-specific notes on using the bup-web package.
-- Converted the main README with Fedora-specific notes to Markdown.
-
-* Wed Oct 14 2015 Tadej Janež <tadej.j@nez.si> 0.27-0.2
-- Added perl(Time::HiRes) to BuildRequires since it is required for running the
- tests.
-- Temporarily disable test_from_path_error() test that fails on Fedora Koji and
- COPR build systems.
-
-* Sun May 17 2015 Tadej Janež <tadej.j@nez.si> 0.27-0.1
-- Initial package.
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..43b3aaa
--- /dev/null
+++ b/dead.package
@@ -0,0 +1,19 @@
+Retire because Python 2 is being retired in Fedora 32
+
+Fedora 32 will retire the python2 package and all its subpackages.
+All packages in Fedora that need Python 2 to build will be removed from
+Fedora 32 regardless of their dependencies.
+For more info, see: https://fedoraproject.org/wiki/Changes/RetirePython2.
+
+Tadej Janež, the maintaner of the Fedora package, asked upstream on their
+Python 3 plans in June 2019 [1] and the upstream maintainer, Rob Browning,
+responded by outlining the issues that lie ahead of porting to Python 3 [2].
+He said that if he will be the one implementing most of it, he would love to
+have it working by the end of the year, but he hasn't really focused on it yet.
+
+For this reason, Tadej Janež decided to retire the package and when/if the
+upstream ports it to Python 3, then someone can pick it up and unretire it.
+For more info, see: https://bugzilla.redhat.com/show_bug.cgi?id=1738916.
+
+[1] https://groups.google.com/d/msg/bup-list/bPuHZBQXIZw/_UaGt8dpAgAJ
+[2] https://groups.google.com/d/msg/bup-list/bPuHZBQXIZw/_UaGt8dpAgAJ
diff --git a/sources b/sources
deleted file mode 100644
index bdc5e80..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (bup-0.29.2.tar.gz) = 10c433d6779b1fd7e1935c587676492d96a330dc3280556332bb55b6e5c62de8631fd755d07d2eaf80cb9fa209dc25b241d5ecf3a6fe2b8210a3d0e1ce4fa4bf
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-30 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 14:55 [rpms/bup] f44: Retire because Python 2 is being retired in Fedora 32
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox