Hello Johnny, On Wed, 2016-12-14 at 06:58 -0600, Johnny Hughes wrote:> So: > > git clone https://git.centos.org/summary/rpms!skopeoApart from the syntax error because the exclamation mark is not escaped this leads nowhere. So I tried: $ git clone https://git.centos.org/git/rpms/skopeo.git> (that just happens to be what I am working on right now) > > cd skopeo > > git branch -a (so you can see the branches .. optional) > > git checkout c7-extrasSo far so good. We now got a spec file. Doing the same for bc: a spec file and patches. Still no source.> get_sources.shThe name suggests this is what we need (or do we??) If only I could find that script anywhere... So lets dig around a bit: skopeo]$ cat .gitignore SOURCES/skopeo-1f655f3.tar.gz bc]$ cat .gitignore SOURCES/bc-1.06.95.tar.bz2 python-rhsm]$ cat .gitignore SOURCES/python-rhsm-1.17.9.tar.gz I think this solves Alice's issue once the .gitignore file is fixed. For some reason the tarballs seem to be ignored. Something I need to fix in my git config or is it at your end? Regards, Leonard. -- mount -t life -o ro /dev/dna /genetic/research
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:> I am not sure what you are trying to accomplish .. but the tools to get > an SRPM or the Sources from CentOS are dead simple. > > They are located here: > > https://git.centos.org/summary/centos-git-common.git > > And they are very easy .. and most are bash scripts.-- Jonathan Billings <billings at negate.org>
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