Package Details: repo-git 2.27.r5.ga8cf575d-1

Git Clone URL: https://aur.archlinux.org/repo-git.git (read-only, click to copy)
Package Base: repo-git
Description: The Multiple Git Repository Tool
Upstream URL: https://source.android.com/source/developing.html
Licenses: Apache
Conflicts: repo
Provides: repo
Submitter: None
Maintainer: z3ntu
Last Packager: z3ntu
Votes: 32
Popularity: 0.000000
First Submitted: 2010-08-17 19:41 (UTC)
Last Updated: 2022-07-17 09:09 (UTC)

Dependencies (2)

Required by (7)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

archan.paul commented on 2011-10-27 05:39 (UTC)

Is this an unmaintained package?

archan.paul commented on 2011-10-20 08:31 (UTC)

Few changes suggested ( http://pastebin.com/wZx5VNR6 ) : --- PKGBUILD.orig 2011-10-20 13:56:08.127134698 +0530 +++ PKGBUILD 2011-10-20 14:00:34.542358070 +0530 @@ -1,8 +1,8 @@ # Contributor: Alexis Robert <alexis.robert@gmail.com> pkgname=repo-git -pkgver=20110210 -pkgrel=1 -pkgdesc="The Multiple Git Repository Tool from the Android Open Source Project" +pkgver=20111020 +pkgrel=2 +pkgdesc="Repository management tool built on top of Git from AOSP (Android Open Source Project" arch=(i686 x86_64) url="http://source.android.com/source/git-repo.html" license=('APACHE') @@ -14,7 +14,7 @@ #noextract=() -_gitroot="git://android.git.kernel.org/tools/repo.git" +_gitroot="https://android.googlesource.com/tools/repo.git" _gitbranch="stable" _gitname="repo" @@ -26,7 +26,7 @@ cd $_gitname && git pull origin msg "The local files are updated." else - git clone -b $_gitbranch $_gitroot $_gitname + git clone --depth=1 -b $_gitbranch $_gitroot $_gitname fi msg "Patching for Python2 ..." @@ -36,5 +36,6 @@ package() { mkdir -p $pkgdir/usr/bin/ || return 1 install -oroot -groot -m0755 $srcdir/$_gitname/repo $pkgdir/usr/bin/repo -} - + rm -rf $(find "$pkgdir" -type d -name ".git") +} +

svanheulen commented on 2011-10-20 03:43 (UTC)

The new official Android git is up: https://android.googlesource.com/tools/repo.git

Valantin commented on 2011-09-30 17:56 (UTC)

replace _gitroot="git://android.git.kernel.org/tools/repo.git" with _gitroot="git://github.com/android/tools_repo.git" on my 64bit system work fine

axil42 commented on 2011-09-28 16:42 (UTC)

Now we have alternatives for kernel.org. Aurora was said to have some problems. Check this post ;) http://synrgi.wordpress.com/2011/09/07/android-repository-remedy/

archan.paul commented on 2011-09-26 10:00 (UTC)

As the kernel.org is down, the PKGBUILD fails. Following patch changes the mirror url to codeaurora.org . --- PKGBUILD.orig 2011-09-26 15:24:46.554765035 +0530 +++ PKGBUILD 2011-09-26 15:25:47.038101066 +0530 @@ -1,6 +1,6 @@ # Contributor: Alexis Robert <alexis.robert@gmail.com> pkgname=repo-git -pkgver=20110210 +pkgver=20110926 pkgrel=1 pkgdesc="The Multiple Git Repository Tool from the Android Open Source Project" arch=(i686 x86_64) @@ -14,7 +14,7 @@ md5sums=('816628bf070c3315e1be24285ee9a0 #noextract=() -_gitroot="git://android.git.kernel.org/tools/repo.git" +_gitroot="git://codeaurora.org/tools/repo.git" _gitbranch="stable" _gitname="repo"

<deleted-account> commented on 2011-02-10 19:19 (UTC)

repo-git 20110210-1 just pushed, hopefully fixing Python2 issues. @QwertyManiac: Do your patch work for you ? The magic part is useless (it's just a hack to see if the script is bootstrapped from bash to python, or directly called from python to figure out if sys.argv is correct) so your patch does nothing more than the previous PKGBUILD (which already patched """exec" python -> """exec" python2). Btw, I needed to add a couple of lines to fix local repo's bootstrapping from the global setup, you can see the patch included in the update.

<deleted-account> commented on 2011-02-04 06:35 (UTC)

Sorry, I didn't have much time actually to manage this issue. I'll push this patch tonight, thanks !

<deleted-account> commented on 2011-02-01 12:48 (UTC)

Please add the following patch to the PKGBUILD so that this tool may be usable in ArchLinux: diff --git a/main.py b/main.py index f068fd4..d701c8f 100755 --- a/main.py +++ b/main.py @@ -14,8 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -magic='--calling-python-from-/bin/sh--' -"""exec" python -E "$0" "$@" """#$magic" +magic='--calling-python2-from-/bin/sh--' +"""exec" python2 -E "$0" "$@" """#$magic" if __name__ == '__main__': import sys if sys.argv[-1] == '#%s' % magic: diff --git a/repo b/repo index ad9e005..417349e 100755 --- a/repo +++ b/repo @@ -19,8 +19,8 @@ REPO_REV='stable' # See the License for the specific language governing permissions and # limitations under the License. -magic='--calling-python-from-/bin/sh--' -"""exec" python -E "$0" "$@" """#$magic" +magic='--calling-python2-from-/bin/sh--' +"""exec" python2 -E "$0" "$@" """#$magic" if __name__ == '__main__': import sys if sys.argv[-1] == '#%s' % magic: Note for patch: I changed the 'magic' string to say python2 cause that's what its gonna do now. More information printed is good. Python2 hackery patch aside, I love ArchLinux's decision to move to Python3 and have nothing against it.