r/programming • • Oct 23 '20

[deleted by user]

[removed]

7.0k Upvotes

1.4k comments sorted by

View all comments

Show parent comment

108

u/MuonManLaserJab Oct 23 '20 edited Oct 23 '20

You can't actually git clone that, though.

Looks like all the forks are down too.

Is there something like this with more repos on it (like, say, this one)?

EDIT: Is this right? https://gitlab.com/gjonesGitLab/youtube-dl

Does anyone have a checksum to verify that repo or another accessible repo?

EDIT EDIT: The wayback machine has the zip file.

0

u/[deleted] Oct 23 '20

[deleted] — view deleted comment

25

u/MuonManLaserJab Oct 23 '20 edited Oct 23 '20

That's just the program, and not the code, right?

I do already have the program, and it doesn't seem to have been removed from e.g. the Ubuntu / debian standard repos.

Of course, the problem is that the content sites (youtube etc.) can now make trivial but breaking changes and the existing youtube-dl installs won't be updated as usual. Someone should put it on gittorrent, or a better program if there is one (I just found gittorrent by assuming there would be something with that name).

132

u/ericonr Oct 23 '20

Python programs are the code, 99% of the time.

And it was only Github that received the takedown, so it's only removed from there, and probably temporarily.

→ More replies (1)

22

u/Yoru_Sulfur Oct 23 '20

That downloads the source distribution, so might not be all the files that were in the repo (depending on how they packaged stuff), but it should be the source of the latest release

0

u/Tiver Oct 24 '20

Yeah good chance it does not include the tests and scripts to release it. All that can be recreated but will make further development painful. Far more likely several dozen people have the cloned repo on their systems and can clone it somewhere public.

16

u/[deleted] Oct 23 '20

Python is a scripting language. When you use pip you are downloading the source code.

8

u/midmagic Oct 23 '20

No; that is one aspect of the code as of that time.

The git repository contains critical information about the history of the project and its development over time. It is crucial for taking the project forward, and understanding the origin of where changes came from and why.

The python script is a piece of the code. It is not the whole.

The PRs, and issues were generally of poor quality and thus not much there was from that direction.

9

u/usualshoes Oct 24 '20

Revision history is important, but the project could certainly continue without it if needed.

2

u/[deleted] Oct 24 '20

Aside from what the others are saying (which is correct), I'd add that even "compiled" Python code (.pyc files) is trivial to reverse-compile nowadays.

→ More replies (1)

21

u/mgrandi Oct 23 '20

Eventually the goal is to make it so you can git clone those, the bitbucket rescue project that just recently finished allows you to hg clone those urls

24

u/MuonManLaserJab Oct 23 '20

You mean git clone straight from the wayback machine? Cool.

14

u/mgrandi Oct 23 '20

Yep! That is the end goal of it at least, hg has a wire format that I think made it easier for it to be implemented , not sure how it will work for git

0

u/MuonManLaserJab Oct 23 '20

Cooool.

After that, it would also be cool for git to automatically find the most recent wayback archive when it gets a "repository unavailable" message.

→ More replies (2)

13

u/[deleted] Oct 23 '20

you can also use this repo for current source.

6

u/lood9phee2Ri Oct 23 '20

hilarious if we now have to rely on china for support of free market capitalist principles.

0

u/[deleted] Oct 23 '20

[deleted] — view deleted comment

2

u/MuonManLaserJab Oct 23 '20

Oh right. The .zip. Forgot that was there, lol.

4

u/RedditUser241767 Oct 23 '20

It doesn't have the issues and comments either

3

u/gwillen Oct 23 '20

Looks like there is a much more up-to-date mirror here: https://gitee.com/mirrors/youtube-downloader