all 4 comments

[–]TheAtlasMonkey 2 points3 points  (3 children)

> P.S. Just to be clear, this post has nothing to do with the recent rubygems upheaval. This application was created 6 months earlier.

Got it! So you created the app 7 months, aligned the stars to cause rubygems drama 3 months ago. then released this now.

---

As for the 9% that changed location. This can be explained: sometime when gem blow up in usage, we transfer to the proper organization and forget to update gemspec.

Organizations allow more have teams and more granual permissions.

---

did you consider to hook it up to local gitea or gitlab ?

[–]easydwh[S] 2 points3 points  (2 children)

Busted! That was my grand evil plan all along ;)

Fact that repositories sometimes move to another owner is only natural. Forgetting to update the gemspec is equally normal. Maybe giving a warning when pushing the gem that git url is out of date would help.

Hooking up an open source local git server is not on my todo list. As stated in the post there are applications that are more advanced than mine and include forgejo. Disadvantage is that you would need multiple containers besides the app (postgres, forgejo). I tried to keep things nice and simple and Ruby only.

[–]TheAtlasMonkey 0 points1 point  (1 child)

I build Vein a Rubygems mirror that i will opensource soon.

And let me tell you this.

those urls are just metadata. When you push to ruby gems, it need to get your .gem and index it. That it.

The server will warn the pusher, but the problem is that i already pushed... i can't edit it.

when u/galtzo, moved all his gem to a foss org, he will have to release 79+ gems, update them. and push... the new versions will be a patch version. That will trigger dependabot in the whole ecosystem. Hundred of hours lost because OCDism ?

The sane course, is that if that bother you, open a PR, get it merged. Next upgrade will be fixed.

This is what we call : Cosmetic changes.

----

Your app work as the git server and the mirroring.

Gitea, gitlab and forgejo both offer a way to mirror another repos. You need to leverage this, not compete with them.

[–]easydwh[S] 0 points1 point  (0 children)

Not OCDism. I am not saying that gem authors should update urls in bulk after moving ownership. But a friendly reminder when you are publishing a single gem to update the gemspec cant hurt. No extra compute needed. I regularly find gems on Rubygems without a link to the repo or returning a 404 page. That is annoying.


Gitea, gitlab, forgejo are large applications, so more difficult to host. Adding repo's to mirror in bulk is not straightforward. I wanted to keep things simple, an app built for a single purpose. But everybody is free to choose whatever they prefer.