Fix Archlinux package creation #425
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-01#425
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix-archpackage"
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?
xxx-pkg.tar.xz
is the job of Archlinux'smakepkg
, not the job of upstream (ie bitmessage). You just need to build thexxx.tar.gz
partAn archer still has to manually clone the repo to install it with the provided PKGBUILD. Is there any reason why you don't provide
xxx.tar.gz
-ified extracts of the code on each release ? (I also notice that you don't use tags, which could be really helpful with github). This would greatly help, because then all you'd need to distribute is the PKGBUILD along with an url pointing to thexxx.tar.gz
(I think github hosts them automatically)I am tagging releases from now on.
I think that it is assumed that you already have the source code either from using 'git clone' or from using the 'download zip' button on Github. You'll get the latest code this way. But I'm not very familiar with Arch packages.
I've already complained about, and conceded to, the arch stuff here. But I think it's telling that arch users didn't make it.
Regarding tags, latest code is not always desired. C.f. those fancy >>>>>> and <<<<<< things from unresolved merge conflicts :-)
I've already complained about, and conceded to, the arch stuff here. But I
think it's telling that arch users didn't make it.
Regarding tags, latest code is not always desired. C.f. those fancy >>>>>>
and <<<<<< things from unresolved merge conflicts :-)
On Fri, Aug 23, 2013 at 11:27 PM, Jonathan Warren
notifications@github.comwrote:
Thank you rakoo and fiatflux.
Here's a very rough explanation:
To create a package, Arch basically needs a PKGBUILD. This file is more or less an improved Makefile. In the PKGBUILD, one of the important variable is
sources
, which tells the packager where the source code can be retrieved. It usually is anhttp
url, or sometimes agit
url, so that it can be retrieved on the internet. The packager is not supposed to manually download the code.Regarding PyBitmessage, a PKGBUILD could contain the link to the latest code, ie the link to the download button... but I'd like to use more stable releases (and I see you already have releases, so to provide releases url it should be a matter of simply tagging them in git, and github automatically creates a download button for it)