git submodule deinit
Hi Danny,
Unfortunately it looks like submodule deinit requires a version of git that's not in precise.
+ git submodule deinit -f .
error: pathspec 'deinit' did not match any file(s) known to git.
error: pathspec '-f' did not match any file(s) known to git.
I'll revert that and go back to rm until we find a better way.
Cheers
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
Quoted 9 lines · Loic Dachary
Hi Danny,
Unfortunately it looks like submodule deinit requires a version of git that's not in precise.
+ git submodule deinit -f .
Quoted 8 lines
error: pathspec 'deinit' did not match any file(s) known to git.
error: pathspec '-f' did not match any file(s) known to git.
I'll revert that and go back to rm until we find a better way.
Cheers
I recently discovered that some of the gitbuilders (at least the Red Hat-based ones) use a git version 1.8.5.3 built directly from source and installed into /srv.
https://github.com/ceph/autobuild-ceph/blob/master/fabfile.py#L1078
The packager side of me cannot stop my eyebrow from involuntarily twitching at this, but the hacker side of me suspects you may be able to just call this install_git() function on Ubuntu Precise.
- Ken
Quoted 23 lines · Ken Dreyer
Quoted 9 lines · Loic Dachary
Hi Danny,
Unfortunately it looks like submodule deinit requires a version of git that's not in precise.
+ git submodule deinit -f .
Quoted 8 lines
error: pathspec 'deinit' did not match any file(s) known to git.
error: pathspec '-f' did not match any file(s) known to git.
I'll revert that and go back to rm until we find a better way.
Cheers
I recently discovered that some of the gitbuilders (at least the Red Hat-based ones) use a git version 1.8.5.3 built directly from source and installed into /srv.
Quoted 5 lines
https://github.com/ceph/autobuild-ceph/blob/master/fabfile.py#L1078
The packager side of me cannot stop my eyebrow from involuntarily twitching at this, but the hacker side of me suspects you may be able to just call this
install_git()function on Ubuntu Precise.
Thanks for the hint !
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
Am 05.03.2015 um 22:14 schrieb Loic Dachary:
Quoted 7 lines
Hi Danny,
Unfortunately it looks like submodule deinit requires a version of git that's not in precise.
Quoted 7 lines
+ git submodule deinit -f .
error: pathspec 'deinit' did not match any file(s) known to git.
error: pathspec '-f' did not match any file(s) known to git.
I'll revert that and go back to rm until we find a better way.
'git submodule deinit' was introduced in git 1.8.2(-rc3), 4. Mar 2013, it is quite old, the upcoming git version is 2.3.2.
Which version is used in precise? The code of deinit is only a script. This may could also be integrated in the existing gitbuilder code as a helper function. if there is no way to update git to an newer version.
Danny
Hi Danny,
Quoted 10 lines · Danny Al-Gaaf
Am 05.03.2015 um 22:14 schrieb Loic Dachary:
Quoted 9 lines
Hi Danny,
Unfortunately it looks like submodule deinit requires a version of git that's not in precise.
+ git submodule deinit -f .
Quoted 8 lines
Quoted 5 lines
error: pathspec 'deinit' did not match any file(s) known to git.
error: pathspec '-f' did not match any file(s) known to git.
I'll revert that and go back to rm until we find a better way.
'git submodule deinit' was introduced in git 1.8.2(-rc3), 4. Mar 2013, it is quite old, the upcoming git version is 2.3.2.
$ git --version git version 1.7.9.5
Quoted 4 lines
Which version is used in precise? The code of deinit is only a script. This may could also be integrated in the existing gitbuilder code as a helper function. if there is no way to update git to an newer version.
Adding such a helper to autobuild-ceph/build-ceph.sh & all to get rid of the explicit rm would be a great idea.
Cheers
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre