News for hackers. Stuff that matters.
Re:YouTube-dl is now part of GitHub/dmca.git by madars on Saturday October 24, 2020 @08:22PM (#24882923)
It looks like this is the corresponding PR: https://github.com/github/dmca/pull/8142
Re:YouTube-dl is now part of GitHub/dmca.git by nayuki on Sunday October 25, 2020 @10:39AM (#24886622)
Maybe this pull request is being censored/shadowbanned right now. Opening the page takes tens of seconds and returns "Unicorn! This page is taking too long to load. Sorry about that. Please try refreshing and contact us if the problem persists.". However, PR #8142 is indeed listed in the list of open PRs at https://github.com/github/dmca/pulls?q=is%3Aopen+is%3Apr .
Re:YouTube-dl is now part of GitHub/dmca.git by untitaker_ on Sunday October 25, 2020 @11:50AM (#24887172)
This just loaded fine for me in Firefox. I'd give them the benefit of the doubt for this one, after all this PR contains 10k commits and 120 comments, and then quite a lot of approvals.
Re:YouTube-dl is now part of GitHub/dmca.git by jyriand on Sunday October 25, 2020 @11:44AM (#24887126)
I saw the unicorn when using firefox, but when I switched to chromium, the PR opened fine
Re:YouTube-dl is now part of GitHub/dmca.git by MrStonedOne on Sunday October 25, 2020 @12:57AM (#24883933)
if you have the dmca repo on your computer, you can checkout this PR via git fetch upstream pull/8142/head:pr-8142&&git checkout pr-8142

Should work even if they blackhole the pr.

Re:YouTube-dl is now part of GitHub/dmca.git by chrismorgan on Sunday October 25, 2020 @02:57AM (#24884340)
There’s no need to create that pr-8142 branch, which will otherwise hang around indefinitely which is most commonly not what you want:

  git fetch upstream pull/8142/head
  git checkout FETCH_HEAD
Re:YouTube-dl is now part of GitHub/dmca.git by jojo14 on Sunday October 25, 2020 @06:48AM (#24885310)
Isn't it more like the following?:

  git clone https://github.com/github/dmca.git
  git fetch origin pull/8142/head
  git checkout FETCH_HEAD
Re:YouTube-dl is now part of GitHub/dmca.git by chrismorgan on Sunday October 25, 2020 @09:19AM (#24886054)
I was just modifying the parent comment, which assumes an existing repository.

Since we’re fiddling with things in this way, if you were just trying to get a copy of the contents, this’ll do that about most efficiently:

  git init
  git fetch --depth=1 https://github.com/github/dmca pull/8142/head
  git checkout FETCH_HEAD
(I don’t think you can git-clone an arbitrary ref, only a branch.)