News for hackers. Stuff that matters.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by yjftsjthsd-h on Thursday August 22, 2019 @08:06AM (#20767108)
Alright, cue the usual:

Monoculture bad

Microsoft bad

Git is distributed but all the things around it that we really need aren't

You can set up git to push to multiple remotes automatically

Nobody is actually using git in distributed mode

Did I forget anything?

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by jddj on Thursday August 22, 2019 @08:45AM (#20767382)
The conspiracy about how much infrastructure has been going down this summer, and how it's probably interns / a state actor / people pushing to get things in production before performance reviews / people being on holiday / that we've reached peak complexity.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by gniv on Thursday August 22, 2019 @10:58AM (#20768807)
You forgot my favorite: senior people leaving for greener/less stressful pastures.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by ianwalter on Thursday August 22, 2019 @09:26AM (#20767756)
Seriously though this summer has been unusually bad ceteris paribus right? We need a State of the SaaS address.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by EForEndeavour on Thursday August 22, 2019 @10:23AM (#20768371)
Give us some credit: it's the best 2019 we've had so far!
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by MS90 on Thursday August 22, 2019 @01:56PM (#20770722)
2019 BC doesn't even have a Wikipedia page!
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by kaushikt on Thursday August 22, 2019 @12:02PM (#20769538)
Conspiracy of people being on holiday?
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by davestephens on Thursday August 22, 2019 @08:10AM (#20767133)
The usual fluff about migrating away to Gitlab?
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by slig on Thursday August 22, 2019 @08:41AM (#20767361)
"Just run gitea/gogs in a raspberry pi in the closet, works for me"
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by ianwalter on Thursday August 22, 2019 @09:22AM (#20767728)
I hide mine in a Barnes & Noble
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by nvr219 on Thursday August 22, 2019 @09:25AM (#20767747)
That’s smart. No one will ever find it.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by kaushikt on Thursday August 22, 2019 @12:03PM (#20769542)
That should do it.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by penagwin on Thursday August 22, 2019 @09:43AM (#20767948)
cue somebody asking the difference and a paragraph explaining the drama that unfolded between them
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by stunt on Thursday August 22, 2019 @10:19AM (#20768333)
For many companies it's not just about running Git server. It's team productivity and all the tooling around it.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by afandian on Thursday August 22, 2019 @08:39AM (#20767345)
Irony of ironies. Gitlab's import-from-GitHub functionality has been broken ever since we tried to migrate away. (They're going ot fix it soon.)
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by sytse on Thursday August 22, 2019 @10:38AM (#20768539)
I'm sorry you had a bad experience with this.

The importer can still get better but we're importing about 500 projects per hour at peak https://www.dropbox.com/s/hr3ndcmu21aehmk/Screenshot%202019-...

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by afandian on Thursday August 22, 2019 @11:11AM (#20768969)
Some imports work. The ones that failed are those with release notes (which were also the more important ones). And they fail silently (succeeded but no releases imported), which is annoying. I could dig up the issue numbers.

I'm generally very pleased with GitLab. I'm delighted that it's open source.

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by jeremy_ on Friday August 23, 2019 @10:43AM (#20778137)
Glad to hear; I'd really like to see us improve some of our import capabilities at GitLab. We've created a separate team specific to importers and have started moving much more quickly here. Thanks for your patience.

Please let me know if this issue addresses the problem you encountered, would love to make sure we're prioritizing it. https://gitlab.com/gitlab-org/gitlab-ce/issues/20780

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by afandian on Tuesday August 27, 2019 @01:20PM (#20812168)
I think these issues were implicated:

https://gitlab.com/gitlab-org/gitlab-ce/issues/65194 https://gitlab.com/gitlab-org/gitlab-ce/issues/52956

No idea when these are going to be deployed. 12.2, 12.3, 12.5... But I'll keep checking in and trying the import every few weeks.

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by russtrotter on Thursday August 22, 2019 @09:50AM (#20768035)
I did this for the first time 2 days ago on two medium-size GH repos and it while was crazy slow, it eventually completed after about 8 hours or so. The actual bits seemed to finish in a relatively quick amount of time, but the project landing page continually showed "import in progress" for all those 8 hours.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by brodock on Friday August 23, 2019 @01:22PM (#20779999)
Git is simple to import, but all other related data may be subject to API rate limits.

I've opened an issue with some improvements suggestions, like surfacing when we are rate limited and allowing gradual access to the data while the import is going on: https://gitlab.com/gitlab-org/gitlab-ce/issues/66525

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by eionh on Thursday August 22, 2019 @08:20AM (#20767216)
"We would migrate to Gitlab, but it's currently down"
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by giovannibonetti on Thursday August 22, 2019 @08:40AM (#20767353)
Given the context I guess he is talking about the self-hosted version.

See also https://gogs.io/

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by HelloNurse on Thursday August 22, 2019 @11:44AM (#20769355)
I hope to see a trend towards "you can host a Git repository yourself, why do you depend on GitHub?".
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by foobiekr on Thursday August 22, 2019 @03:03PM (#20771341)
Publicly visible outages on "pro" internet properties are actually a good thing because they help correct the views so commonly held by low-information executives about 5-nines and uptime. The more ammo people have, in aggregate, that "XXX never goes down" is a lie, the better off we will be as an industry.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by techntoke on Thursday August 22, 2019 @10:15AM (#20768279)
If GitHub actually had an open source version, then I could selfhost on infrastructure that I trust.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by acidburnNSA on Thursday August 22, 2019 @10:35AM (#20768499)
Wait till you hear about Phabricator! It was a Facebook tool that got open sourced and then the devs spun out their own company to provide paid support and whatnot. But you can just self-host it and frankly, it's glorious.

https://www.phacility.com/

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by techntoke on Thursday August 22, 2019 @10:48AM (#20768679)
I actually have, and even better it can easily be setup with Helm on a Kubernetes cluster:

https://github.com/helm/charts/tree/master/stable/phabricato...

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by Hello71 on Thursday August 22, 2019 @11:00AM (#20768833)
at that rate wouldn't i just use gitlab
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by techntoke on Thursday August 22, 2019 @11:08AM (#20768912)
If you want a complete solution that mostly works, then yes. However, I think there is a lot of benefit in tools like Phabricator, or rolling your own SCM with Gitea and implementing Drone CI.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by SilasX on Thursday August 22, 2019 @11:27AM (#20769145)
What about "rookie mistakes by code artisans who are making it up as they go along"?
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by jolmg on Thursday August 22, 2019 @11:47AM (#20769389)
> Git is distributed but all the things around it that we really need aren't

Can anyone recommend an issue tracker that is distributed with the repo?

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by michaelmure on Thursday August 22, 2019 @02:44PM (#20771164)
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by Griffinsauce on Thursday August 22, 2019 @11:55AM (#20769475)
@TODO comments strewn around in your repo.
Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by jolmg on Thursday August 22, 2019 @12:14PM (#20769647)
I was thinking of something that wouldn't be affected by the git history. There's no point in having branches for issue comments.

Something like:

  $ git issue add "foo doesn't work"
  Created issue ece5591: foo doesn't work
  $ git issue comment ece5591 "the problem might be with bar"
  Created comment 0191fa1 on issue #10.
  $ git issue comment --reply 0191fa1 "or with baz"
  Created comment f98e783 on issue #10.
  $ git issue show ece5591
  foo doesn't work -- ece5591 Your Name <your@email>
    the problem might be with bar -- 0191fa1 Your Name <your@email>
      or with baz -- f98e783 Your Name <your@email>
  $ git issue push
  Pushed issues ece5591.
  $ git issue pull
  Pulled issues 3ebdc7e, 24cdb90.
EDIT: I just gave myself a clue:

https://github.com/dspinellis/git-issue

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by WorldMaker on Thursday August 22, 2019 @05:24PM (#20772504)
The nice idea to having issues in your history/branches is that it easily inverts the "flow" of branch state information: most issue trackers do a lot of work to figure which changes affect which issues, and which branches those changes are in. This often requires a lot of explicit manual work like making commit notes always include issue numbers for instance and "magic" commands like "Resolves #10" to auto-close issues.

If the issues are just another source artifact alongside the code in the same git history a lot of that information flows the other direction. Instead of a magic command in a commit note to close an issue, an issue closing shows up in a diff in the commit. Figuring out which issues are still open in a given branch (what isn't in our release branch yet?) is a simple command in a branch. Figuring out which issues changed between branches (what's finished in this feature branch that hasn't been merged to release yet?) is a typical diff operation.

In terms of documenting the state and progress of an individual branch in a complex project there can be a lot of magic in having issues tracked directly inside code branches. It's a fascinating ideal for code documentation to have issue comments, changes, and workflows side-by-side the code that changed with it.

That said, issue trackers are sadly not ideal code artifacts for a lot of reasons, including that it is easy to forget that issues aren't just for coders, but also stakeholders/product owners/PMs/etc.

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by Izkata on Friday August 23, 2019 @12:15AM (#20774465)
There were a whole bunch of these being actively developed around 2009-2012, but all of them slowly died out because each one had at least one of several issues that made them difficult or annoying to use, usually either requiring forgettable steps to actually distribute, or polluting the commits/branches with their own tracking.

My personal solution is similar to sibling comments, but more structured - using vimwiki in a subdirectory inside the repo, and committing updates alongside the relevant code changes.

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by Madeindjs on Thursday August 22, 2019 @04:50PM (#20772235)
A commited todo.txt [1] file with project.

[1]: todotxt.org

Re:GitHub Outage Currently Ongoing – Issues, PRs, Notifications by maxerickson on Thursday August 22, 2019 @01:29PM (#20770440)
The knowing meta-post.

And the meta-meta follow on.