grit is a replacement for ruby-git. It is a ruby library for accessing and manipulating git repositories. Unfortunately, upstream doesn't package tests. Also, the tests require that ${S} be a valid copy of grit's own git repository, AFAICT. I have a bug about not bundling tests: http://github.com/mojombo/grit/issues/issue/33 . Unfortunately, that bug won't go through because I called ourselfs ``bread'' and because shipping the tests would mean shipping the .git directory, which is just as large as the project itself. My solution was to repackage this myself. You can examine SRC_URI from my ebuild to see that I split the tarballs into two... initially because I didn't know that the .git directory was needed and then later because the .git directory is sizeable. If this is too pointless, I could consolidate the two tarballs. The tests fail due to a false assumption that Dir::glob() sorts its results before returning them. I have submitted a bug and patch just now and they fix the test, but of course I have no feedback yet. See to-be-attached ebuild and patch.
Created attachment 250311 [details] grit-2.3.0.ebuild
Created attachment 250313 [details] files/grit-2.3.0-sorted-refs.patch
Updated ebuilds are accessible in the sunrise overlay at http://overlays.gentoo.org/proj/sunrise/browser/reviewed/dev-ruby/grit .
Any progress getting this into the main tree?
Version bumped to 2.5.0 in sunrise-overlay.
New sunrise url: http://git.overlays.gentoo.org/gitweb/?p=proj/sunrise-reviewed.git;a=tree;f=dev-ruby/grit
I'll look at getting this ebuild into the tree sometime soon, hopefully.
Hello, everyone. It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project. Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that: 1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it. 2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding. 3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint. 4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality. Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise. [1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers [2]:https://gitweb.gentoo.org/proj/sunrise.git/
Given grit is no longer maintained, should this be closed?
(In reply to Ewoud Kohl van Wijngaarden from comment #9) > Given grit is no longer maintained, should this be closed? Yes thank you very much for letting us know ! :)