News for hackers. Stuff that matters.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by urda on Saturday April 17, 2021 @07:00PM (#26848195)
I just keep a GOGS instance that auto-mirrors youtube-DL these days now, so I always have a copy.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by ColdHeat on Saturday April 17, 2021 @08:24PM (#26848680)
The gogs maintainer currently seems to not be doing much with it and seems to be ignoring security reports. I would probably recommend the gitea fork instead.

https://github.com/go-gitea/gitea

Re:GitHub reinstated youtube-dl but restoring forks is appar... by urda on Saturday April 17, 2021 @11:46PM (#26849667)
Do you have references? Not saying you're wrong, but you provided zero proof.

The instance also runs inside a LAN so... whatever.

Re:GitHub reinstated youtube-dl but restoring forks is appar... by ColdHeat on Sunday April 18, 2021 @12:14PM (#26853711)
Sure, I reported an issue to the Gogs maintainer over two weeks ago and he hasn't acknowledged it at all. Here's the public reference that their SECURITY.md asks for: https://github.com/gogs/gogs/issues/6534

Here's another one posted about a week ago: https://github.com/gogs/gogs/issues/6536

Re:GitHub reinstated youtube-dl but restoring forks is appar... by urda on Monday April 19, 2021 @01:49AM (#26859433)
Ok thank you very much I appreciate the reply.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by habibur on Saturday April 17, 2021 @08:48PM (#26848810)
youtube-dl's main feature is its frequent updates, as soon as sites change their api/auth or anything. And that a happens pretty regularly. Therefore say youtube-dl from last month can't download videos from youtube this month, unless you update it.

Thus having a copy only saves you for a few weeks. Then it will start to fail on all sites, one by one.

Relevant. Youtube changed something that broke youtube-dl the day after it was removed from github. It couldn't update as the update source was from github.

Re:GitHub reinstated youtube-dl but restoring forks is appar... by PhantomGremlin on Saturday April 17, 2021 @10:17PM (#26849255)
youtube-dl's main feature is its frequent updates

Ah, yeah, now they do frequent updates. But here's a fork that I switched to for a while because the maintainers of the original youtube-dl were slacking off. :) https://github.com/blackjack4494/youtube-dlc

I can't believe the level of entitlement my comment exhibits. :)

My attitude (a bit tongue in cheek) is probably why many open source authors abandon their products. Too much work, no thanks, lots of bitching.

Re:GitHub reinstated youtube-dl but restoring forks is appar... by Arcorann on Sunday April 18, 2021 @02:02AM (#26850167)
youtube-dlc has been inactive since December 2020. I use yt-dlp instead: https://github.com/yt-dlp/yt-dlp

Not only does it keep reasonable pace with original youtube-dl, it also incorporates several improvements from forks (detailed on the page).

Re:GitHub reinstated youtube-dl but restoring forks is appar... by comboy on Saturday April 17, 2021 @07:35PM (#26848396)
Not snarky just curious - why would you have this GOGS instance instead instead of just.. git?
Re:GitHub reinstated youtube-dl but restoring forks is appar... by m-p-3 on Saturday April 17, 2021 @07:57PM (#26848519)
Wasn't familiar with GOGS before this post, but I guess it's just easy to put in place and you could just keep working from there if shit hits the fan?
Re:GitHub reinstated youtube-dl but restoring forks is appar... by comboy on Saturday April 17, 2021 @08:00PM (#26848545)
But what do you need it for? Why not just have a cloned repository?
Re:GitHub reinstated youtube-dl but restoring forks is appar... by gravypod on Saturday April 17, 2021 @08:24PM (#26848681)
For many users having an easy to browse/navigate interface is a good selling point.

This reminds me of this post about Dropbox: https://news.ycombinator.com/item?id=9224

Re:GitHub reinstated youtube-dl but restoring forks is appar... by simcop2387 on Saturday April 17, 2021 @09:27PM (#26848996)
Along with that, gogs and gitea support automatic mirroring of repositories. I know that's just a crontab wmtry away but it's got a nice ui on top of it. It also then gives you a place to push private repos and other stuff you don't want to have publically hosted.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by m-p-3 on Monday April 19, 2021 @08:49AM (#26862140)
Not sure if GOGS does it, but does a git clone also carries the issues entries and documentation from the repo?
Re:GitHub reinstated youtube-dl but restoring forks is appar... by rsync on Sunday April 18, 2021 @01:05AM (#26849950)
"I just keep a GOGS instance that auto-mirrors youtube-DL these days now, so I always have a copy."

I keep this in my local crontab:

  ssh [email protected] "git clone mirror https://github.com/ytdl-org/youtube-dl.git"
Re:GitHub reinstated youtube-dl but restoring forks is appar... by koolba on Sunday April 18, 2021 @08:31AM (#26851864)
> ssh [email protected] ...

Do you really have an passphrase-less SSH key on your primary machine?

Re:GitHub reinstated youtube-dl but restoring forks is appar... by viraptor on Sunday April 18, 2021 @08:56AM (#26852013)
How do you expect an automated process to work over SSH if it has to ask for a password?
Re:GitHub reinstated youtube-dl but restoring forks is appar... by koolba on Sunday April 18, 2021 @12:08PM (#26853648)
I wouldn’t expect an automated process to be using a human’s account to access a remote system.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by viraptor on Sunday April 18, 2021 @05:03PM (#26856332)
You're assuming this is a "human's" account. Also it could be a single-purpose key limited to a single static command on the rsync side.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by tux on Sunday April 18, 2021 @10:32AM (#26852808)
Actually passwordless ssh key is more secure from attacks than using a password.

Unless your computer is compromissed, than no key or password will help.

Re:GitHub reinstated youtube-dl but restoring forks is appar... by koolba on Sunday April 18, 2021 @12:07PM (#26853630)
Not “password”, I’m referring to a “passphrase” for unlocking an SSH key.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by ljm on Saturday April 17, 2021 @08:21PM (#26848659)
You could save some overhead and run git pull in a cron job.
Re:GitHub reinstated youtube-dl but restoring forks is appar... by urda on Sunday April 18, 2021 @03:14AM (#26850452)
I'm using GOGs for far more than just a single mirror repo. But thanks! :)