by stblack · 4y ago · 0 comments
To some degree, this must be crushing the value of the service.
If ever there was a crying need for setup wizards, configuration audit helpers, and clear error messages, this would be it.
On one hand I can clearly see how git-like history and version control could help in so many areas beyond tech. On the other hand, I can see that's never gonna happen with the barriers to entry we see today.
The Github team should talk to the Rust team about error messages and helpful diagnostics.
My GitHub setup process for myself and new hires hasn't changed in 10 years. I'm a bit flabbergasted at what the difficulty could be.
1. Generate a private/public key pair with openssl
2. Add it to your Github account
3. Done
I believe openssl still even comes standard on mac so you don't even need to install anything.
(We also set most up with code signing because why not? They think it's cool because we have green checkboxes everywhere, and they get to learn a bit of cryptography too)
1) Setup ssh keys
2) Create GitHub account
3) Push public key to GitHub
4) Setup username/email
5) Setup org. permissions on repos
Done..?
For an experienced developer, nothing. But for a beginner, two or three of those steps will be very confusing.
At least that was the case with github for windows last I used it a few years ago.
Try it with a fresh laptop: nothing pre-configured. Show someone new how you set up, from scratch.
You're gonna be shocked.
A couple years ago it was harder, but I've done this from scratch on my machines and others' several times over the last few months and it's always easy.
As bad as it is, it’s still better than every other source control I’ve used (vss, clearcase, perforce, cvs, subversion, tfs, mercurial) and their services.
Any attempts to make it easier will likely make it as crappy as stuff like azure devops or other Microsoft source products.
That being said, good error messages would be great. I feel like an idiot whenever someone onboards and gets stuck and I try to remember how I set up my environment however long ago.
Also however GitHub is not able to have the clean slate cargo gets. If I make a new repo, GitHub suggests I populate it with many good things, license info, a README document, and so on... but of course I can't because it's actually just somewhere to push my existing local git repo and if it's not empty that would cause a conflict.
I'm referring to what's required to make a local git repo interoperate with Github.
Either via the command line, or with an editor plugin, or an app. Including the Github desktop app.
That's a nightmare.
2. read the text in front of you:
git remote add origin git@github.com:yourusername/repositoryname.git
git branch -M main
git push -u origin maina) Hasn't set up an SSH key before b) Hasn't used github before
It's more of a hassle now than it was 5 years ago