4 ms·
Looks nice. Is there any reason to use getopt over flag in Go? How do you find the experience with sr.ht?
by aredirect 7y ago
Looks nice. Is there any reason to use getopt over flag in Go?
How do you find the experience with sr.ht?
- Sir_Cmpwn 7y agoI prefer getopt because it's more succinct and more standardized. I made sr.ht :) I can't give you an unbiased opinion, but naturally I think it's quite nice given that I designed it explicitly to suit my needs. Check out the marketing page for some more details: https://sourcehut.org https://sourcehut.org
- samb1729 7y agoMight I ask whether you have any intention to revisit this issue? https://todo.sr.ht/~sircmpwn/todo.sr.ht/176 https://todo.sr.ht/~sircmpwn/todo.sr.ht/176
- saagarjha 7y agoIsn't that what the issue says he will do?
- Sir_Cmpwn 7y agoI stated my intentions on the ticket. The puritanical (not to mention sexist) complaints that you can see the knees of an alledgedly "high school" girl on an obscure corner of the legacy site is not something I have a lot of patience for. This ticket is really a thinly veiled hatred of anything "anime". Eventually the page will likely go away in the due course of development of the service, but I'm not in any rush to appease puritanical jerks who make a moral appeal to hide their distaste for anything Japanese. These people are not uncommon, you get pretty good at recognizing them.
- misterdoubt 7y agoOoh no one tell them about the terrifying hybrid feline/invertebrate that lurks on a different git hosting platform. O, the unprofessionalism!
- outime 7y agoThat was a disappointing response. The overall design is ok but this really felt out of place. Hopefully he realizes that and stops blaming the “puritanical jerks” as he himself said.
- asdkhadsj 7y agoHeya, so I just checked out Sourcehut and despite really wanting to use it (and pay) I decided not to. But because I find the product cool, I figured I should note why. So, 1. My primary projects of which I need private hosting contain many (less than a GB, currently) "large" files hosted. Of course, these files need to be tied to the source code. Currently I'm solving this with Git LFS. Now, I'm not exactly tied to the solution, I just want it to be fairly pain free and baked in, of which Git LFS does a good job on. I super look forward to Git LFS. 2. I know you're working on it, but I have no desire to change my workflow to be email oriented. I don't intend to debate it, it's just not what I desire. PR UIs would be hugely helpful. #2 is barely an issue at all, because I know you're working on it. If I had GitLFS I would have signed up for $10/m as that's well worth it to me. Appreciate the product, hope it does great things for you. I look forward to using it when/if you implement GitLFS or something like it :) Thanks! As a potential customer I hope this was at least mildly helpful :) edit: It should be noted that my GitLFS files are of course binary. 3D modeling, PSDs, that sort of thing.
- ddevault 7y agoHey, thanks for the feedback. Regarding point 1, I do eventually want to add git lfs support. Regarding point 2, the only thing I can say is "don't knock it until you've tried it". As someone who's spent thousands of hours each in GitHub, Gerrit, and email, as well as some time in GitLab, Gitea, and Phabricator, I've tried a lot of workflows and email is by far the most efficient. However, in the future I plan on adding web UIs for review and patch submission which are backed by email underneath, so you can use the web or email - whichever you prefer. I think you ought to give email an earnest shot, though. https://git-send-email.io https://git-send-email.io https://aerc-mail.org https://aerc-mail.org Also, lots of people use a subset of SourceHut, like the CI service for example, while still hosting git repos on GitHub or GitLab. Because it's modular in design, each piece can be useful ala-carte or composed freely with other solutions.
- asdkhadsj 7y agoOh, and if there's a way to subscribe / be notified when LFS support is added please let me know :) For now I'm building around Gitlab, possibly migrating to Github if I run out of LFS storage on Gitlab (Github lets you pay for more storage.. don't think I can on Gitlab yet..). Appreciate your work :)
- Operyl 7y agoSirCmpwn, the project owner here, also owns sr.ht.
- boomlinde 7y ago> Is there any reason to use getopt over flag in Go? Its parser follows the POSIX utility syntax guidelines and behaves like most POSIX tools. The flag parser on the other hand is simpler, but can lead to some surprises if you are used to getopt-like parsing.