Package Details: git-subrepo 0.4.9-1

Git Clone URL: https://aur.archlinux.org/git-subrepo.git (read-only, click to copy)
Package Base: git-subrepo
Description: Git submodule alternative
Upstream URL: https://github.com/ingydotnet/git-subrepo
Licenses: MIT
Submitter: bricewge
Maintainer: alerque
Last Packager: alerque
Votes: 11
Popularity: 0.000029
First Submitted: 2015-08-28 13:55 (UTC)
Last Updated: 2024-08-14 19:50 (UTC)

Latest Comments

« First ‹ Previous 1 2

eclairevoyant commented on 2023-05-12 02:34 (UTC) (edited on 2023-05-12 02:35 (UTC) by eclairevoyant)

This package seems to be quite the mess due to how upstream has organised the project in such a way that it expects everything to sit in the same folder.

I at least updated some parts that don't make sense, but I'll eventually want to make this properly follow FHS instead of shoving everything in /opt. If anyone has suggestions, please feel free to post a link to a pastebin patch or submit a PR at https://github.com/eclairevoyant/aur-packages

alerque commented on 2023-02-22 13:24 (UTC)

Also the RC file needs to be installed with backups, and my previous comments have not been addressed.

alerque commented on 2023-02-22 13:22 (UTC)

You broke the URL in the last bump. Also the commit messages that say "Update .SRCINFO" but actually change the PKGBUILD to a different upstream repo are a bit disconcerting. I see there is a reason for the change, but for the same of anybody auditing the things they build it would be appreciated if a little more care was taken along the way.

MountainX commented on 2021-08-03 05:09 (UTC)

Alternative PKGBUILD here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=git-subrepo-xdg

alerque commented on 2020-11-25 08:47 (UTC)

This package has a couple issues. First /opt shouldn't be used at all. Second just copying the sources over without building it (the project does have makefile) isn't how you install software. The hack to source the rc file is also not working and returning bogus variables in the event the no repo root is found. This needs to be overhauled to use a proper installation procedure into an actual system library or shared data directory.

RealOrRandom commented on 2020-07-16 09:40 (UTC)

If you can't login graphically (and you get error messages when logging in on a tty), try removing /etc/profile.d/git-subrepo.sh

quenyen commented on 2020-07-15 17:13 (UTC)

Sorry been AWOL for a bit been very busy at work and did not know anyone besides me was using this I followed the suggestions and I have reverted to ingydotnet's version now that he is up to date with his project and his is working better than what I had merged.

mhsekhavat commented on 2020-06-24 07:34 (UTC) (edited on 2020-06-24 07:36 (UTC) by mhsekhavat)

I use this package() so that auto complete works (requires re-loggin so that /etc/profile.d is loaded. Also you can run source /etc/profile before restart)

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  # git-subrepo
  mkdir "${pkgdir}/opt"
  cp -R . "${pkgdir}/opt/git-subrepo" 
  install -D -m644 License "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  mkdir -p "${pkgdir}/etc/profile.d"
  echo "source /opt/git-subrepo/.rc" > "${pkgdir}/etc/profile.d/git-subrepo.sh" 
}