Live data from Hacker News

Sr.ht becomes Sourcehut

sourcehut.org

31–40 of 83 posts

Re: Sr.ht becomes Sourcehut

#31
Mercurial support, fuck yeah:

https://hg.sr.ht/

This is the killer feature for me.

Why Mercurial?

Here’s a list of Mercurial features that I think are really cool:

Revsets – a domain-specific language for querying your commits

Templates – a domain-specific language for altering the output of almost every command. Putting together these two you can do things like this: http://jordi.inversethought.com/blog/customising-mercurial-l...

Evolution – a distributed and safe way to share rewrites (think automatically recovering from upstream rebase without any git reset --hard and no git push --force).

Absorb – automatically amends an entire stack of WIP commits at once by picking the right diffs from your working directory based on which commits’ contexts they fit best.

Curses interface for hunk-picking – a unified interface for splitting diffs for any purpose: whether to revert working-directory changes, write a new commit, uncommit parts of a commit, or amend a commit with more diffs. Just add --interactive to any of those commands and start picking hunks!

A fairly rich built-in web interface – hg serve and point your browser to http://localhost:8000 and you’re good to go.

Lots of support for monorepos – indeed, this is the main reason that Google, Facebook, and Mozilla are all pouring work into hg and are using it.

A consistent UI – this one is more subjective but often-touted feature of Mercurial. If a command accepts a revision/hash/tag/bookmark; it always uses the -r/--rev flag for it (and you can also always use a revset for any command that accepts a revision). If a command allows hunk selection, it always uses the -i/--interactive flag for it. The help for every command fits in about a screenful.

Give it a try! Mercurial is neat!

Re: Sr.ht becomes Sourcehut

#32
post #9

As of posting, the info on this site is very lean, but going forward sourcehut seems to be the name for the software suite of the service 'sr.ht'. The linkage is implied by the quote on the site that " sr.ht is a hosted instance of sourcehut provided for your convenience ". The impetus behind the branding clarification seems to be this HN thread [1]. For more history, see the the debut announcement [2] and its corres…

Definitely glad that he changed it. I was concerned about that holding his growth back when he did the Show on Lobsters. Also, some people can't access sites with weird domains due to corporate firewalls. A .org might prevent that.

Looking back at the thread, it looks like the new name was suggested back then by neuromanc:

https://lobste.rs/s/cqangw/sr_ht_hacker_s_forge_now_open_for...

I like how the proposed name fit with the existing one. Good example of backward compatibility, but with project names. ;)

Re: Sr.ht becomes Sourcehut

#33
post #31

Mercurial support, fuck yeah: https://hg.sr.ht/ This is the killer feature for me. Why Mercurial? Here’s a list of Mercurial features that I think are really cool: Revsets – a domain-specific language for querying your commits Templates – a domain-specific language for altering the output of almost every command. Putting together these two you can do things like this: http://jordi.inversethought.com/blog/customising-…

> a domain-specific language for querying your commits

Meanwhile I google "how to print commit history git" for the 100th time...

Re: Sr.ht becomes Sourcehut

#35
post #31

Mercurial support, fuck yeah: https://hg.sr.ht/ This is the killer feature for me. Why Mercurial? Here’s a list of Mercurial features that I think are really cool: Revsets – a domain-specific language for querying your commits Templates – a domain-specific language for altering the output of almost every command. Putting together these two you can do things like this: http://jordi.inversethought.com/blog/customising-…

> a domain-specific language for querying your commits Meanwhile I google "how to print commit history git" for the 100th time...

I admit, I do `hg help revsets` with some regularity, because I do need to look up the right functions that can perform the query I want, but it's really just a reference check, not a check on the syntax of the language.

Re: Sr.ht becomes Sourcehut

#36
post #31

Mercurial support, fuck yeah: https://hg.sr.ht/ This is the killer feature for me. Why Mercurial? Here’s a list of Mercurial features that I think are really cool: Revsets – a domain-specific language for querying your commits Templates – a domain-specific language for altering the output of almost every command. Putting together these two you can do things like this: http://jordi.inversethought.com/blog/customising-…

> a domain-specific language for querying your commits Meanwhile I google "how to print commit history git" for the 100th time...

Just use gitk...

Re: Sr.ht becomes Sourcehut

#37
post #26

I was personally hoping for "Sir Hat", with a Shovel Knight-style mascot.

I keep thinking of highly memeable Eurovision singer Serhat : https://en.m.wikipedia.org/wiki/Serhat_(singer)

How about Sir Topham Hatt? [1]

[1] https://en.wikipedia.org/wiki/The_Fat_Controller

Re: Sr.ht becomes Sourcehut

#39
post #17

Great branding! How about a logo contest? ;)

Friend of mine made this one: https://sr.ht/ekPb.png The official logo is this :) https://git.sr.ht/~sircmpwn/sourcehut.org/tree/master/logo.s... (which is just a circle, like the favicon)

My idea, https://ibb.co/nmKymTW - it's a 1.9kB svg but I'm sure it can be reduced to something manageable.
Post reply on HN