[aur-general] Fwd: [pacman-dev] Help adding support for BZR, CVZ, DARCS to makepkg
Forwarding to aur-general, as there's likely a larger corpus of people
who could potentially be affected by this...
Allan's a bit overly dramatic about this -- the current (old) PKGBUILDs
will continue to mostly work, but I would expect that they'll break in
quiet and interesting ways (e.g. pkgver won't be updated).
----- Forwarded message from Allan McRae
Date: Mon, 23 Jul 2012 21:57:34 +1000 From: Allan McRae
To: Discussion list for pacman development Subject: [pacman-dev] Help adding support for BZR, CVZ, DARCS to makepkg On my VCS branch, makepkg now supports git, svn and hg. That accounts for ~91.5% of all VCS PKGBUILDs in the AUR. Here are rough AUR package counts for those that are interested:
git: 4002 svn: 1771 hg: 498 bzr: 364 cvs: 186 darcs: 29
I will write the code to add bzr, cvs and darcs support back, but I need help given I know nothing about these systems.
What I will need:
1) How to checkout a repo to a given folder
2) What url "fragments" need supported (e.g. git can build from a branch, tag or commit; svn can build from a given revision).
3) How to create a working copy of the checked out repo (i.e. "copy" the primary checkout folder) and how to get it to the specified branch/tag/commit/whatever. That can be in all one step.
makepkg will not support these protocols with pacman-4.1 if I don't get that information (or someone else does not provide a patch).
Allan
----- End forwarded message -----
Am I understanding this correctly when I read that makepkg is going to have sort of native support for VCS?
-- Markus
Dave Reisner
Forwarding to aur-general, as there's likely a larger corpus of people who could potentially be affected by this...
Allan's a bit overly dramatic about this -- the current (old) PKGBUILDs will continue to mostly work, but I would expect that they'll break in quiet and interesting ways (e.g. pkgver won't be updated).
----- Forwarded message from Allan McRae
----- Date: Mon, 23 Jul 2012 21:57:34 +1000 From: Allan McRae
To: Discussion list for pacman development Subject: [pacman-dev] Help adding support for BZR, CVZ, DARCS to makepkg On my VCS branch, makepkg now supports git, svn and hg. That accounts for ~91.5% of all VCS PKGBUILDs in the AUR. Here are rough AUR package counts for those that are interested:
git: 4002 svn: 1771 hg: 498 bzr: 364 cvs: 186 darcs: 29
I will write the code to add bzr, cvs and darcs support back, but I need help given I know nothing about these systems.
What I will need:
1) How to checkout a repo to a given folder
2) What url "fragments" need supported (e.g. git can build from a branch, tag or commit; svn can build from a given revision).
3) How to create a working copy of the checked out repo (i.e. "copy" the primary checkout folder) and how to get it to the specified branch/tag/commit/whatever. That can be in all one step.
makepkg will not support these protocols with pacman-4.1 if I don't get that information (or someone else does not provide a patch).
Allan
----- End forwarded message -----
On Mon, Jul 23, 2012 at 5:10 PM, Markus Unterwaditzer
Am I understanding this correctly when I read that makepkg is going to have sort of native support for VCS?
-- Markus
Dave Reisner
wrote: Forwarding to aur-general, as there's likely a larger corpus of people who could potentially be affected by this...
Allan's a bit overly dramatic about this -- the current (old) PKGBUILDs will continue to mostly work, but I would expect that they'll break in quiet and interesting ways (e.g. pkgver won't be updated).
----- Forwarded message from Allan McRae
----- Date: Mon, 23 Jul 2012 21:57:34 +1000 From: Allan McRae
To: Discussion list for pacman development Subject: [pacman-dev] Help adding support for BZR, CVZ, DARCS to makepkg On my VCS branch, makepkg now supports git, svn and hg. That accounts for ~91.5% of all VCS PKGBUILDs in the AUR. Here are rough AUR package counts for those that are interested:
git: 4002 svn: 1771 hg: 498 bzr: 364 cvs: 186 darcs: 29
I will write the code to add bzr, cvs and darcs support back, but I need help given I know nothing about these systems.
What I will need:
1) How to checkout a repo to a given folder
2) What url "fragments" need supported (e.g. git can build from a branch, tag or commit; svn can build from a given revision).
3) How to create a working copy of the checked out repo (i.e. "copy" the primary checkout folder) and how to get it to the specified branch/tag/commit/whatever. That can be in all one step.
makepkg will not support these protocols with pacman-4.1 if I don't get that information (or someone else does not provide a patch).
Allan
----- End forwarded message -----
As Markus said, is there native support in makepkg for VCSs (i.e. git, bzr, hg, darcs, svn,...) or is this just a discussion regarding a feature request? If it's the former, how come it's not documented in the wiki? It would simplify my git PKGBUILDS greatly. If it's the latter, then I'm very interested, and am willing to provide any assistance needed - just point me to the code. M
On Wed, Aug 1, 2012 at 6:05 AM, Menachem Moystoviz
On Mon, Jul 23, 2012 at 5:10 PM, Markus Unterwaditzer
wrote: Am I understanding this correctly when I read that makepkg is going to have sort of native support for VCS?
-- Markus
Dave Reisner
wrote: Forwarding to aur-general, as there's likely a larger corpus of people who could potentially be affected by this...
Allan's a bit overly dramatic about this -- the current (old) PKGBUILDs will continue to mostly work, but I would expect that they'll break in quiet and interesting ways (e.g. pkgver won't be updated).
----- Forwarded message from Allan McRae
----- Date: Mon, 23 Jul 2012 21:57:34 +1000 From: Allan McRae
To: Discussion list for pacman development Subject: [pacman-dev] Help adding support for BZR, CVZ, DARCS to makepkg On my VCS branch, makepkg now supports git, svn and hg. That accounts for ~91.5% of all VCS PKGBUILDs in the AUR. Here are rough AUR package counts for those that are interested:
git: 4002 svn: 1771 hg: 498 bzr: 364 cvs: 186 darcs: 29
I will write the code to add bzr, cvs and darcs support back, but I need help given I know nothing about these systems.
What I will need:
1) How to checkout a repo to a given folder
2) What url "fragments" need supported (e.g. git can build from a branch, tag or commit; svn can build from a given revision).
3) How to create a working copy of the checked out repo (i.e. "copy" the primary checkout folder) and how to get it to the specified branch/tag/commit/whatever. That can be in all one step.
makepkg will not support these protocols with pacman-4.1 if I don't get that information (or someone else does not provide a patch).
Allan
----- End forwarded message -----
As Markus said, is there native support in makepkg for VCSs (i.e. git, bzr, hg, darcs, svn,...) or is this just a discussion regarding a feature request? If it's the former, how come it's not documented in the wiki? It would simplify my git PKGBUILDS greatly. If it's the latter, then I'm very interested, and am willing to provide any assistance needed - just point me to the code.
M
It's the latter AFAIK. I'm not a pacman dev, I just lurk on the pacman-dev mailing list, so I can't point at specific patches, but the git repo is here: http://projects.archlinux.org/ I'm not sure if the relevant code is in the official pacman repo or Allan's working tree. These may also be of interest: http://www.archlinux.org/pacman/ http://www.archlinux.org/pacman/HACKING.html http://www.archlinux.org/pacman/submitting-patches.html If this isn't the info you need, it might be worthwhile to ask around on the pacman-dev mailing list. HTH.
participants (4)
-
Buce
-
Dave Reisner
-
Markus Unterwaditzer
-
Menachem Moystoviz