cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
<cfbolz>
arigato: there is an example if you scroll down
ionelmc has quit [Quit: Connection closed for inactivity]
oberstet has joined #pypy
<mjacob>
agronholm: what exactly do you mean by "just migrate the existing named branches to github"?
<agronholm>
well, git supports named branches just like hg does, although they're less permanent
<mjacob>
agronholm: "named branches" has a very specific meaning in mercurial, and git doesn't natively support them
<agronholm>
what aspect of hg's named branches is git lacking that pypy needs?
<mjacob>
mercurial also supports the git way of naming branches: it's called "bookmarks"
<agronholm>
yeah, I remember
<mjacob>
what's meant with "named branch" is mercurial's support for storing the branch name of each commit
<mjacob>
whereas git refs / mercurial bookmarks can only be used for annotating the head of the branch
<mjacob>
so if you later have a single commit (e.g. found by annotating a file) you have easily find which branch it originally was in without having to look at the context
CrazyPython has quit [Remote host closed the connection]
rubdos has joined #pypy
CrazyPython has joined #pypy
CrazyPython has quit [Remote host closed the connection]
mattip has joined #pypy
CrazyPython has joined #pypy
<mattip>
mjacob: how will i contact you sat afternoon?
CrazyPython has quit [Read error: Connection reset by peer]
mattip has quit [Remote host closed the connection]
CrazyPython has joined #pypy
rubdos has quit [Ping timeout: 264 seconds]
<tos9>
FWIW I put together a GH Action to automatically tag all commits with what branch they came from: https://bpaste.net/show/VdSg
<tos9>
It seems to roughly work on the simple case
<tos9>
But have to check that it works properly with multiple commits pushed at once, and on PRs.
speeder39_ has quit [Quit: Connection closed for inactivity]
<tos9>
(If not it should be some minor tweaking to make it work there too.)
<tumbleweed>
my guess would be that it it only gets run on the tip of the pushed commits
<tos9>
Right same, but fixing that should just involve looping over refs backwards until you find one that's already tagged
<tumbleweed>
yeah
<tos9>
(And then presumably a minor tweak if you want to support people being able to use git notes *outside* of just this automated thing, which probably just involves sprinkling some `--merge-strategy union` in there)
rubdos has joined #pypy
speeder39_ has joined #pypy
rubdos has quit [Ping timeout: 258 seconds]
rubdos has joined #pypy
werkpenguin has quit [Remote host closed the connection]
CrazyPython has quit [Remote host closed the connection]
CrazyPython has joined #pypy
CrazyPython has quit [Remote host closed the connection]
CrazyPython has joined #pypy
jcea has joined #pypy
CrazyPython has quit [Remote host closed the connection]
CrazyPython has joined #pypy
Rhy0lite has quit [Quit: Leaving]
rubdos has quit [Ping timeout: 246 seconds]
jcea has quit [Quit: jcea]
<mjacob>
mattip_: i sent you the address and my telephone number as a private message
<mjacob>
mattip_: sent it again
CrazyPython has quit [Remote host closed the connection]
CrazyPython has joined #pypy
mattip has joined #pypy
CrazyPython has quit [Ping timeout: 245 seconds]
<mattip>
mjacob: not seeing the pms, please try email
mattip has quit [Remote host closed the connection]
jcea has joined #pypy
tsaka__ has quit [Ping timeout: 268 seconds]
speeder39_ has quit [Quit: Connection closed for inactivity]