martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.19k stars 260 forks source link

delete stale branches (at least 7yo or >500cb ones?) #1162

Closed goyalyashpal closed 5 months ago

goyalyashpal commented 5 months ago

https://github.com/martanne/vis/branches/stale

yo: years old cb: commits behind



ninewise commented 5 months ago

I have a local copy of all of these branches in case we ever need them, but it doesn't really bother me to have them here as well. The 0.8 branch I'd keep anyway, should we ever want to patch something on the 0.8 release.

Is there a downside on having stale branches on github?

goyalyashpal commented 5 months ago

hi!

ยป 've a local copy of these branches awesome

ยป 0.8 branch i'd keep yeah, my main concern was for those branches being more than 7 years old; as they only have just 0,1,1,2,4,5,9 commits in them. now, i haven't checked the contents of those commits, but, if single commit content are not ginormously large, then number of commits can easily be dealt with (i.e. important parts merged in, important ones discarded)

ยป Is there a downside on having stale branches on github? umh, the only thing is that if someone forks the repo with all the branches, then these branches will get copied.

all in all, no, no downside. just that i was thinking of forking the repo for some reason (oh yeah, recalled it - to just try to build it in my way) when i noticed all these branches.

goyalyashpal commented 5 months ago

feel free to close as not planned if so ๐Ÿ˜ƒ

ninewise commented 5 months ago

I guess cleaning up a bit cannot hurt. I've taken a closer look at them:

goyalyashpal commented 5 months ago

awesome ๐Ÿ˜Š๐Ÿ˜‡๐Ÿš€

goyalyashpal commented 5 months ago
  • was an attempt to integrate sregexes but that project hasn't seen updates in 8 years

how about re2 which is also DFA based

sregexes A non-backtracking NFA/DFA-based Perl-compatible regex engine matching on large data streams

re2 https://github.com/google/re2 RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python.

i wont think that big tech would mess up a regex engine as well... but these big techs cant be trusted either lol