|
The mksource() function was a shitshow. I mean no disrespect towards
niitotantei, the user who originally contributed it. But he should
have been given feedback, rather than it just being added as-is to
Parabola (*cough* André).
The new source tarball (ruby-2.4.1-libre1.tar.gz) should be
functionally identical to old one (ruby-libre-2.4.1.tar.xz); it
doesn't include a "json-1.8.1/" directory in the root, and the
json-1.8.1.gem file is slightly different (the file contains some
timestamps, and the version of 'gem' that created it):
$ diff -r src.bak/ruby-2.4.1 src/ruby-2.4.1
Binary files src.bak/ruby-2.4.1/gems/json-1.8.1.gem and src/ruby-2.4.1/gems/json-1.8.1.gem differ
The old mksource() function *almost* created the json-1.8.1.gem file,
but didn't; instead checking in a pre-generated json-1.8.1.gem to git.
That said, there are still problems:
- The json gem is now on 2.1.0, not 1.8.1, and needs to be updated here
- There are problems shipping it as a gem https://labs.parabola.nu/issues/1376
But IMO, this is a necessary step to resolving either of these,
because it allows us to now answer "how was 1.8.1 being modified; what
do we need to carry forward?"
|