working bash version #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "bash-edition"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
i'm open to discussion on this but it's super simple to do in bash.
i wasn't keen to handle a bunch of subprocesses in python.
I have 2 main issues with this.
(I'm counting lines 92-107 as the ones that actually do what the script is intended for.) My Python script I'm writing, on the other hand, takes 6 lines (1 import, 1 init, 3 argument additions, and 1 parse call) for the error handling, allowing me to get to work much faster and leaving not a lot of clutter. That's why I wanted it in Python: Batteries included make it easier and more clear what's happening.
Also, we don't need to deal with a lot of subprocesses. Password generation can be done in-script,
crypt
ing the password can be done in-script. The only subprocesses are 1) add user, 2) add SSH key, and 3) send toot, all of which are trivial.what's wrong with a gpl license?
why require people to share their changes if nobody's going to change it massively? it works already, someone might do rebranding I guess. there's no real need.
what license would you prefer?
I just used a script template (new_script iirc) and it handled all the boilerplate for me. it can definitely be tidied up.
python still seems like a lot of overhead to me.
I prefer the MIT license, the one that I put on the repo when I made it.
fine with me
removed unnecessary boilerplate and in-line license
tidied up bash version works. i've tested it in a vm.
Pull request closed