Hello Jonathan, On Wed, 2016-12-14 at 15:03 -0500, Jonathan Billings wrote:> On Wed, Dec 14, 2016 at 07:29:19PM +0100, Leonard den Ottolander wrote: > > > get_sources.sh > > > > The name suggests this is what we need (or do we??) If only I could find > > that script anywhere... > > Johnny said it at the beginning of his email. I'll paste it again so > you don't have to go re-read it:> On Wed, Dec 14, 2016 at 06:58:02AM -0600, Johnny Hughes wrote: > > They are located here: > > > > https://git.centos.org/summary/centos-git-common.gitThanks for pointing out my oversight. However, cloning that repo does not work... $ git clone https://git.centos.org/summary/centos-git-common.git Initialized empty Git repository in /data/leonard/srcothers/centos/centos-git-common/.git/ warning: remote HEAD refers to nonexistent ref, unable to checkout. What am I missing? And then there remains the question: git checkout for a package gathers the spec file and patches, so why do we need a script to get the source tarball when all that is stopping it from getting checked out is an entry in .gitignore? A whole script to undo that one entry in .gitignore? What's the idea behind this? Regards, Leonard. -- mount -t life -o ro /dev/dna /genetic/research
On Wed, 2016-12-14 at 21:38 +0100, Leonard den Ottolander wrote:> Hello Jonathan, > > On Wed, 2016-12-14 at 15:03 -0500, Jonathan Billings wrote: > > On Wed, Dec 14, 2016 at 07:29:19PM +0100, Leonard den Ottolander wrote: > > > > get_sources.sh > > > > > > The name suggests this is what we need (or do we??) If only I could find > > > that script anywhere... > > > > Johnny said it at the beginning of his email. I'll paste it again so > > you don't have to go re-read it: > > > On Wed, Dec 14, 2016 at 06:58:02AM -0600, Johnny Hughes wrote: > > > They are located here: > > > > > > https://git.centos.org/summary/centos-git-common.git > > Thanks for pointing out my oversight. > > However, cloning that repo does not work... > > $ git clone https://git.centos.org/summary/centos-git-common.git > Initialized empty Git repository > in /data/leonard/srcothers/centos/centos-git-common/.git/ > warning: remote HEAD refers to nonexistent ref, unable to checkout. > > What am I missing?Hi, The path to the repo is wrong. git clone https://git.centos.org/git/centos-git-common.git The one you are trying is the web interface address. Regards Phil -- Google+: https://plus.google.com/+PhilWyett Blog: https://philwyett-hemi.blogspot.co.uk/ GitLab: https://gitlab.com/philwyett_hemi/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20161214/41f56a18/attachment-0001.sig>
Hello Phil, On Wed, 2016-12-14 at 20:57 +0000, Phil Wyett wrote:> The path to the repo is wrong. > > git clone https://git.centos.org/git/centos-git-common.gitToo late to boost my brain with more coffee for today. Not as sharp as I would like to be ;) . Still leaves me with the question why a script to download the source tarballs is needed when just not adding a .gitignore entry for them to the repos would fix the issue. Could someone involved care to explain the rationale behind this or point me to a thread where this has been discussed/explained? Cheers, Leonard. -- mount -t life -o ro /dev/dna /genetic/research