public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* unpacking git files
@  Linux for blind general discussion
   ` Linux for blind general discussion
   ` Linux for blind general discussion
  0 siblings, 2 replies; 7+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: blinux-list

If you download a git file how is it possible to have git unpack the file
for you into its own directory tree?
I failed to write my git credentials in braille and haven't used them for
a very long time so may be able to get a git file using wget but for now I
don't know how to unpack the file.



--


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unpacking git files
   unpacking git files Linux for blind general discussion
@  ` Linux for blind general discussion
     ` Linux for blind general discussion
   ` Linux for blind general discussion
  1 sibling, 1 reply; 7+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: blinux-list

Try
git clone http://github.com/whatever/whatever.git


----- Original Message -----
From: Linux for blind general discussion <blinux-list@redhat.com>
To: blinux-list@redhat.com
Date: Thu, 23 Apr 2020 17:13:42 -0400
Subject: unpacking git files

> If you download a git file how is it possible to have git unpack the file
> for you into its own directory tree?
> I failed to write my git credentials in braille and haven't used them for
> a very long time so may be able to get a git file using wget but for now I
> don't know how to unpack the file.
> 
> 
> 
> --
> 
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
> 
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unpacking git files
   ` Linux for blind general discussion
@    ` Linux for blind general discussion
       ` Linux for blind general discussion
  0 siblings, 1 reply; 7+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

That won't work in this case, since I already tried it.  It's requiring
a login which I cannot now do.

On Thu, 23 Apr 2020, Linux for blind general discussion wrote:

> Date: Thu, 23 Apr 2020 17:14:49
> From: Linux for blind general discussion <blinux-list@redhat.com>
> To: blinux-list@redhat.com
> Subject: Re: unpacking git files
>
> Try
> git clone http://github.com/whatever/whatever.git
>
>
> ----- Original Message -----
> From: Linux for blind general discussion <blinux-list@redhat.com>
> To: blinux-list@redhat.com
> Date: Thu, 23 Apr 2020 17:13:42 -0400
> Subject: unpacking git files
>
> > If you download a git file how is it possible to have git unpack the file
> > for you into its own directory tree?
> > I failed to write my git credentials in braille and haven't used them for
> > a very long time so may be able to get a git file using wget but for now I
> > don't know how to unpack the file.
> >
> >
> >
> > --
> >
> >
> > _______________________________________________
> > Blinux-list mailing list
> > Blinux-list@redhat.com
> > https://www.redhat.com/mailman/listinfo/blinux-list
> >
> >
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>

-- 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unpacking git files
   unpacking git files Linux for blind general discussion
   ` Linux for blind general discussion
@  ` Linux for blind general discussion
     ` Linux for blind general discussion
  1 sibling, 1 reply; 7+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: blinux-list

Tim here.

I'm not sure what sort of "git file" you have.  If it's a "bundle",
you can pull from it as if it was an upstream project:

  git clone your_repo.bundle repo

to create a local directory called "repo" and clone that bundle into
it.

If it's just a pack file from inside the .git/ folder from another
repo, there's no telling what may or may not be in there (okay, one
can spelunk in there, but you lose a lot of the metadata that is
elswhere in the folder such as branch-heads/names, and any commits
that weren't part of the pack-file)

-tim

On April 23, 2020, Linux for blind general discussion wrote:
> If you download a git file how is it possible to have git unpack
> the file for you into its own directory tree?
> I failed to write my git credentials in braille and haven't used
> them for a very long time so may be able to get a git file using
> wget but for now I don't know how to unpack the file.
> 
> 
> 
> --
> 
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unpacking git files
   ` Linux for blind general discussion
@    ` Linux for blind general discussion
  0 siblings, 0 replies; 7+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

The file at issue is fahlib.git and is a library needed by the
foldingathome project to be installed locally.  I have no idea of the
git file's contents yet.

On Thu, 23 Apr 2020, Linux for blind general discussion wrote:

> Date: Thu, 23 Apr 2020 18:07:50
> From: Linux for blind general discussion <blinux-list@redhat.com>
> To: blinux-list@redhat.com
> Subject: Re: unpacking git files
>
> Tim here.
>
> I'm not sure what sort of "git file" you have.  If it's a "bundle",
> you can pull from it as if it was an upstream project:
>
>   git clone your_repo.bundle repo
>
> to create a local directory called "repo" and clone that bundle into
> it.
>
> If it's just a pack file from inside the .git/ folder from another
> repo, there's no telling what may or may not be in there (okay, one
> can spelunk in there, but you lose a lot of the metadata that is
> elswhere in the folder such as branch-heads/names, and any commits
> that weren't part of the pack-file)
>
> -tim
>
> On April 23, 2020, Linux for blind general discussion wrote:
> > If you download a git file how is it possible to have git unpack
> > the file for you into its own directory tree?
> > I failed to write my git credentials in braille and haven't used
> > them for a very long time so may be able to get a git file using
> > wget but for now I don't know how to unpack the file.
> >
> >
> >
> > --
> >
> >
> > _______________________________________________
> > Blinux-list mailing list
> > Blinux-list@redhat.com
> > https://www.redhat.com/mailman/listinfo/blinux-list
> >
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>

-- 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unpacking git files
     ` Linux for blind general discussion
@      ` Linux for blind general discussion
         ` Linux for blind general discussion
  0 siblings, 1 reply; 7+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

On Thu, 23 Apr 2020 17:47:57 -0400
Linux for blind general discussion <blinux-list@redhat.com> wrote:

> That won't work in this case, since I already tried it.  It's requiring
> a login which I cannot now do.
> 

git clone works for public github repositories without needing login:

```
[kdetest@localhost ~]$ git clone https://github.com/joewing/jwm
Cloning into 'jwm'...
remote: Enumerating objects: 11191, done.
remote: Total 11191 (delta 0), reused 0 (delta 0), pack-reused 11191
Receiving objects: 100% (11191/11191), 6.00 MiB | 3.18 MiB/s, done.
Resolving deltas: 100% (7847/7847), done.
[kdetest@localhost ~]$ rm -fr jwm/
[kdetest@localhost ~]$ git clone https://github.com/joewing/jwm.git
Cloning into 'jwm'...
remote: Enumerating objects: 11191, done.
remote: Total 11191 (delta 0), reused 0 (delta 0), pack-reused 11191
Receiving objects: 100% (11191/11191), 6.00 MiB | 3.18 MiB/s, done.
Resolving deltas: 100% (7847/7847), done.
[kdetest@localhost ~]$ ls .ssh
ls: cannot access '.ssh': No such file or directory
[kdetest@localhost ~]$ 
```

also ".git" (which holds the repository's history) is a directory - not a file,
see: https://git-scm.com/ .

Which command are you using exactly?

> On Thu, 23 Apr 2020, Linux for blind general discussion wrote:
> 
> > Date: Thu, 23 Apr 2020 17:14:49
> > From: Linux for blind general discussion <blinux-list@redhat.com>
> > To: blinux-list@redhat.com
> > Subject: Re: unpacking git files
> >
> > Try
> > git clone http://github.com/whatever/whatever.git
> >
> >
> > ----- Original Message -----
> > From: Linux for blind general discussion <blinux-list@redhat.com>
> > To: blinux-list@redhat.com
> > Date: Thu, 23 Apr 2020 17:13:42 -0400
> > Subject: unpacking git files
> >  
> > > If you download a git file how is it possible to have git unpack the file
> > > for you into its own directory tree?
> > > I failed to write my git credentials in braille and haven't used them for
> > > a very long time so may be able to get a git file using wget but for now I
> > > don't know how to unpack the file.
> > >
> > >
> > >
> > > --
> > >
> > >
> > > _______________________________________________
> > > Blinux-list mailing list
> > > Blinux-list@redhat.com
> > > https://www.redhat.com/mailman/listinfo/blinux-list
> > >
> > >  
> >
> >
> > _______________________________________________
> > Blinux-list mailing list
> > Blinux-list@redhat.com
> > https://www.redhat.com/mailman/listinfo/blinux-list
> >
> >  
> 



-- 

Shlomi Fish       https://www.shlomifish.org/
What does “Zionism” mean? - https://shlom.in/def-zionism

“A is A, and A is not not-A? WTH is he talking about??! Of course A can be
not-A! I want a little of the stuff he’s on!”
    — Initial reaction to the https://en.wikipedia.org/wiki/Organon

Please reply to list if it's a mailing list post - https://shlom.in/reply .


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: unpacking git files
       ` Linux for blind general discussion
@        ` Linux for blind general discussion
  0 siblings, 0 replies; 7+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

Okay, so far as I know fahlib-git on github is actually a private
repository.  That is one of the packages listed in foldingathome-beta's
README.md file used to build FAHClient.  The better news turns out to be
I needed to clear the old data files from this machine in addition to
the foldingathome-beta package and run everything as I would if I were a
new user in foldingathome-beta supplying the same configuration
information and now foldingathome-beta is working fine.

It doesn't interfere with computer operations but does make the machine
run harder since the fan is on constantly as this package runs so it's
unnecessary for me to unpack a local version of a git file this time.

On Fri, 24 Apr 2020, Linux for blind general discussion wrote:

> Date: Fri, 24 Apr 2020 04:42:01
> From: Linux for blind general discussion <blinux-list@redhat.com>
> To: Linux for blind general discussion <blinux-list@redhat.com>
> Subject: Re: unpacking git files
>
> On Thu, 23 Apr 2020 17:47:57 -0400
> Linux for blind general discussion <blinux-list@redhat.com> wrote:
>
> > That won't work in this case, since I already tried it.  It's requiring
> > a login which I cannot now do.
> >
>
> git clone works for public github repositories without needing login:
>
> ```
> [kdetest@localhost ~]$ git clone https://github.com/joewing/jwm
> Cloning into 'jwm'...
> remote: Enumerating objects: 11191, done.
> remote: Total 11191 (delta 0), reused 0 (delta 0), pack-reused 11191
> Receiving objects: 100% (11191/11191), 6.00 MiB | 3.18 MiB/s, done.
> Resolving deltas: 100% (7847/7847), done.
> [kdetest@localhost ~]$ rm -fr jwm/
> [kdetest@localhost ~]$ git clone https://github.com/joewing/jwm.git
> Cloning into 'jwm'...
> remote: Enumerating objects: 11191, done.
> remote: Total 11191 (delta 0), reused 0 (delta 0), pack-reused 11191
> Receiving objects: 100% (11191/11191), 6.00 MiB | 3.18 MiB/s, done.
> Resolving deltas: 100% (7847/7847), done.
> [kdetest@localhost ~]$ ls .ssh
> ls: cannot access '.ssh': No such file or directory
> [kdetest@localhost ~]$
> ```
>
> also ".git" (which holds the repository's history) is a directory - not a file,
> see: https://git-scm.com/ .
>
> Which command are you using exactly?
>
> > On Thu, 23 Apr 2020, Linux for blind general discussion wrote:
> >
> > > Date: Thu, 23 Apr 2020 17:14:49
> > > From: Linux for blind general discussion <blinux-list@redhat.com>
> > > To: blinux-list@redhat.com
> > > Subject: Re: unpacking git files
> > >
> > > Try
> > > git clone http://github.com/whatever/whatever.git
> > >
> > >
> > > ----- Original Message -----
> > > From: Linux for blind general discussion <blinux-list@redhat.com>
> > > To: blinux-list@redhat.com
> > > Date: Thu, 23 Apr 2020 17:13:42 -0400
> > > Subject: unpacking git files
> > >
> > > > If you download a git file how is it possible to have git unpack the file
> > > > for you into its own directory tree?
> > > > I failed to write my git credentials in braille and haven't used them for
> > > > a very long time so may be able to get a git file using wget but for now I
> > > > don't know how to unpack the file.
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > >
> > > > _______________________________________________
> > > > Blinux-list mailing list
> > > > Blinux-list@redhat.com
> > > > https://www.redhat.com/mailman/listinfo/blinux-list
> > > >
> > > >
> > >
> > >
> > > _______________________________________________
> > > Blinux-list mailing list
> > > Blinux-list@redhat.com
> > > https://www.redhat.com/mailman/listinfo/blinux-list
> > >
> > >
> >
>
>
>
> --
>
> Shlomi Fish       https://www.shlomifish.org/
> What does ?Zionism? mean? - https://shlom.in/def-zionism
>
> ?A is A, and A is not not-A? WTH is he talking about??! Of course A can be
> not-A! I want a little of the stuff he?s on!?
>     ? Initial reaction to the https://en.wikipedia.org/wiki/Organon
>
> Please reply to list if it's a mailing list post - https://shlom.in/reply .
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list

-- 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 unpacking git files Linux for blind general discussion
 ` Linux for blind general discussion
   ` Linux for blind general discussion
     ` Linux for blind general discussion
       ` Linux for blind general discussion
 ` Linux for blind general discussion
   ` Linux for blind general discussion

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).