News for hackers. Stuff that matters.
Re:GitHub Builds GitHub with GitHub [video] by trumpeta on Monday October 30, 2023 @04:04AM (#38066773)
What do they do when GitHub is down?
Re:GitHub Builds GitHub with GitHub [video] by wutwutwat on Monday October 30, 2023 @04:47AM (#38067002)
sword fight
Re:GitHub Builds GitHub with GitHub [video] by lstamour on Monday October 30, 2023 @04:52AM (#38067028)
Re:GitHub Builds GitHub with GitHub [video] by koromak on Monday October 30, 2023 @09:13AM (#38069079)
On a much smaller scale, I used to use our CI server to build and deploy our CI server. But if it went down it was a huge pain. Not really worth it for the fuzzy feeling, just make it build offline.
Re:GitHub Builds GitHub with GitHub [video] by yuppiepuppie on Monday October 30, 2023 @04:18AM (#38066845)
Has anyone used the github projects/issues as a replacement to tools like jira? I used gitlab issues in a previous role, and it did not work out that well. There was quite a bit of push back from my PM and we ended up using trello in the end.

Edit: I like the idea, I just wonder if its a viable solution when you have more than 1 team with engineering/product collaborating in github/gitlab on issues.

Re:GitHub Builds GitHub with GitHub [video] by janosdebugs on Monday October 30, 2023 @04:38AM (#38066961)
At Red Hat, we used Jira a lot. My manager set up synchronization with GitHub so we can pull in community issues.

My experience was that tickets/issues are something that need a caretaker, no matter the system. Someone who makes sure they have enough info on them, duplicates are resolved, they are linked properly, etc. I feel strongly about this and it took anywhere between 2-5% of my time to keep things in order for a relatively small project. (I was a software engineer, not a manager.) Every ticketing system sucks, but you can make every system bearable if you have someone who cares and is willing to put in the time.

Re:GitHub Builds GitHub with GitHub [video] by lstamour on Monday October 30, 2023 @04:50AM (#38067021)
The new Projects is like Jira without the top-down “Jira Align”-style features. So you can have issues from multiple projects show up in a board, that board can look like Trello… but if you want to duplicate the card’s custom fields to a different board, it gets trickier. The card and its data lives in the board it’s created in.

You end up having to do lots and lots of hacky things with GitHub Actions and the Projects GraphQL API to make it work the way you want it to. And granted, it’s cool you can do that. Having CI events fire for every issue created is awesome. But sometimes you fight their defaults soooo much, that just customizing Jira seems easier at times.

Don’t get me wrong, if you’re all in on GitHub, you’ll do okay with it. Especially if you write Actions to feed data in or out of it using the GitHub CLI and/or API or GitHub-script CI actions. But you’ll also probably miss Jira if you’ve used it as a power-user. Especially if you want to do advanced things with boards and cards and issues that it might not offer by default out of the box. And GitHub’s GraphQL API is powerful but also weirdly and frustratingly restrictive at times, particularly with usage and query limits. An easy SQL query for GitHub to run internally is opaque and confusing for a third-party to develop - GitHub knows what things are easy to hard to query by design but outside of GitHub you just make the API calls and hope it scales well to larger projects, or find out the hard way when it fails.

Re:GitHub Builds GitHub with GitHub [video] by sshine on Monday October 30, 2023 @08:38AM (#38068717)
Yes, I started using it 6 months ago.

We only have one team of 5 developers.

Compared to Jira, it is not gut-wrenching terrible.

My employer's project manager left the month after I started, so I took over his overview.

I switched from Jira to GitHub Projects because I value my life as a developer.

It's not as feature rich, but that's a feature. The integration with PRs and commits is top class.

Projects can span multiple repositories, which is neat. We are mostly mono-repo, but we do have one active project using a different set of technologies.

I have one long-lived project for getting our main product ready, containing several milestones, some of which have deadlines yet to be determined, some deadlines stretching 6 months into delivery.

I use the kanban board for keeping track of what my colleagues are working on, and for measuring how much is left. I don't use the roadmap feature, because my employer has a time estimation problem right now, but it looks very neat.

I use a "tracking issue" label that just lists other issues. For example, a tracking issue for a particular customer. I really like how doing "- #123" in an issue or PR expands that into the title and an icon indicating if it was open or closed. This is just standard GitHub functionality, but it's super. Sometimes tracking issues are created from doing a customer integration test, where handling a failure is converted into a task. But until they're a separate issue, they're just a bullet point in the tracking issue. So it's kind of like growing a wiki.

I'd like to be able to export an interactive overview of a subset of issues for customers to look at between meetings (which is possible to make with GitHub's API). But it's not strictly necessary, as screenshares / screendumps of the issue tracker is typically fine.

Re:GitHub Builds GitHub with GitHub [video] by porridgeraisin on Monday October 30, 2023 @11:35PM (#38079968)
github issues as a database. Actions have the backend logic. Search is useful as well.
Re:GitHub Builds GitHub with GitHub [video] by oger on Monday October 30, 2023 @04:22AM (#38066863)
It's like compiling your compiler with the compiler you compiled. And eating your own dogfood is a proven tactic to have dev teams feel the pains of a product just like a customer does.
Re:GitHub Builds GitHub with GitHub [video] by lstamour on Monday October 30, 2023 @04:38AM (#38066957)
The video is nice, but not particularly actionable - if you’ve used GitHub Enterprise within the last year, or browsed GitHub’s website marketing, you’ve probably seen many of these features already.

https://gh.io/how-we-build-github is linked to from the description and has a few more interesting articles and case studies. While they don’t often go into detail, you’ll pick up some tips and best practices on how to best use GitHub at a larger org.

If there’s a limitation, it’s that for enterprises, a lot of these features have big price tags attached by design, and some of the big features, like code spaces and CI runner VPCs can be done through local .vscode project files and self-hosted runners for cost savings.

Unfortunately, there’s literally no way to replace GitHub’s secret scanning on-push given that you can make commits so many different ways and only GitHub can scan them all. And GitHub’s pricing for their security package reflects this, at least at an enterprise level. And let’s not talk about storage costs or other ways they get you with consumption billing.

There’s a small part of me that misses the simplicity of self-hosted GitHub Enterprise in that you could quickly navigate to other enterprise projects (last I checked, labels were still broken in GitHub Enterprise for listing internal projects), maybe wrap it in a cloud proxy and add your own secrets scanning, or link your self-hosted GitHub to your self-hosted Jira. (Note: I absolutely prefer the cloud-hosted versions, but it was possible to tune the performance of local versions in a way that it isn’t possible to do so in the cloud. I never worked for a company that bothered to tune them, but it /was/ possible. And probably cheaper.)