remove misc/debian or sync it from Debian #1454
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#1454
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Now that Debian packages Tahoe-LAFS, we should probably remove the source:misc/debian and source:misc/debian_helpers, or else make sure that the tools/scripts/config-files that Debian itself uses doesn't differ from those.
+1 on removing these directories. I think we should do that for 1.9.
Attachment rm-misc-debian-and-debian_helpers.darcs.patch (147672 bytes) added
Remove misc/debian and misc/debian_helpers, which are out-of-date relative to the official Debian packages. fixes #1454
+1 for me too. It means we must shut down our .deb-producing buildbots, and devs/bleeding-edge-users can no longer get convenient debian packages of current trunk (instead they must apply the official debian .diff.gz to their source tree and build a .deb from that, and since that .diff probably clobbers a bunch of the setuptools weirdness in setup.py it may be a one-way operation).
Also it means that users of non-current debian/ubuntu OSes won't be able to get debian packages at all: the current debian diff might not work for them, and we aren't providing anything better.
But we aren't testing or maintaining this stuff, so I expect it probably doesn't work already. And I'm not using a debian box on a daily basis anymore, so it's not as important to me anyways :).
I can't tell just by looking at the patch what exactly it removes. (lsdiff or diffstat are great tools, but don't work on darcs patches). So I'll take your word that it's the equivalent of 'rm -r misc/debian misc/debian_helpers'. Also it should remove the debian portions of the Makefile (everything from line 259 to the end of the file).
It should also update docs/debian.rst: replace the instructions about building a debian package to say "get the diff from packages.debian.org and use debuild as usual". It should keep the section on the debian-package names of Tahoe's dependencies, but should no longer claim that tahoe's source tree will help you build debian packages itself.
#1424 was a duplicate of this ticket.
Replying to warner:
... but see #1168 for a way to stop that being one-way.
If we abandon the ability to automatically produce bleeding-edge .debs, I think that means that we could close #299, #423, #769, #1257, #1308, and #1348.
Right, as evidenced by the above tickets :-)
It is.
OK, I'll update it to do these things.
Attachment debian.rst (2191 bytes) added
replacement docs
Attachment remove-debian-build-targets.darcs.patch (33135 bytes) added
Makefile: remove targets that used misc/debian[_helpers] which no longer exist. Also change docs/debian.rst to reflect the fact that we no longer support building .debs using those targets. refs #1454
Attachment simplify-makefile-and-setup-py.darcs.patch (28351 bytes) added
Makefile and setup.py: remove setup.py commands that we no longer need, and their uses in the Makefile. Delete a stale and incorrect comment about updating _version.py. Also fix some coding style checks in the Makefile to operate on all source files. (This isn't strictly to do with #1454, but since it also touches the Makefile I'll put it here.)
I cannot apply the rm-misc-debian.. patch: it depends upon MDMF. Could you create an alternate form which does not?
Nevermind.. I made a new patch for that. I'm +1 on the two debian patches, will land them now. I'm going to move the third non-debian patch out to a different ticket and review it separately.
In changeset:4d58e7cef9569b12:
In changeset:37cd111009d0b30e:
third patch moved to ticket #1479
In [5181/ticket393-MDMF-2]:
In [5182/ticket393-MDMF-2]: