Closed ronaldtse closed 3 years ago
Yes, I've noticed this one. Though I am thinking if we can do it in some meta language to avoid separate Ruby and JS implementations… Would be great I suppose, but I'm not sure if possible.
And I guess that I should close few other ones first. Unless this is really urgent.
@skalee yes this is relatively urgent work, definitely more urgent than completion of parsing of IEV because that comes later. Thanks.
@ronaldtse, @opoudjis
Which concept features are more needed? These used in IEV or these in TC211?
We need all from both, because they are all real requirements. The authoritative model is https://github.com/glossarist/concept-model .
Any requirements regarding supported Ruby versions? Should I care about Ruby 2.4? Should I care about anything below 2.7?
We have to support 2.4+ for now.
I wonder how to name this gem. concepts
, glossary_concepts
, glossarist_concepts
, iso_concepts
, glossarist
are all free, concept
is taken.
Maybe just glossarist
for now?
Agreed. Three more questions:
- Any requirements regarding license? I am going to use BSD 2-clause, as Metanorma uses specifically this one.
Agree.
- Should I create a new repo for this project or keep it in glossarist/concept-model in a subdirectory? I am going to do the former which is cleaner IMO, but maybe there are reasons to do otherwise?
Here's the new repo: https://github.com/glossarist/glossarist-ruby
- Is it okay to support Ruby 2.4.4+, i.e. without Ruby 2.4.0-2.4.3? That would allow us to use Zeitwerk. Though I can live without it.
I think so.
@opoudjis Can you confirm that I can support Ruby 2.4.4+ only, i.e. without Ruby 2.4.0-2.4.3, particularly in context of packed-mn requirements?
This is a bit broader question in fact. I'm not sure yet if I'll use Zeitwerk in this very project, but certainly I'll be tempted to do so in the other gems I develop, some of them useful or potentially useful in Metanorma. For instance, ReverseAdoc could benefit greatly from Zeitwerk, given current require
hell (of course I won't do that without prior discussion):
Concerns about packed-mn will be answered by @CAMOBAP and @alexeymorozov.
Simplifying requires are good but want to make sure the solution will be clean.
@skalee We're currently doing and an upgrade from Ruby 2.4.2 (which is already supported) to higher versions (2.4.3 and 2.50 specifically). In my opinion it would be done in the next several days. Even if it wouldn't, we can upgrade it to 2.4.4.
Ping @skalee when do you think we can get this ready? It's becoming a blocker for a number of tasks. Thanks!
@skalee I'm merging the 2.4.3 now, and starting 2.4.4 instead of 2.4.10/2.5.
@ronaldtse I've overlooked this notification, sorry for late answer! I'll post a more detailed response tomorrow.
I'm merging the 2.4.3 now, and starting 2.4.4 instead of 2.4.10/2.5.
Thanks for info!
I guess tomorrow I'll release first version, but it will be far from complete (no validations, some minor legacy gotchas). Complete enough for IEV XLS parser, though. I was going to make it nice from the beginning, but I've spent much time on that and I guess I'll rather start with something very simplistic, and then add improvements gradually.
@skalee is the gem ready?
From metanorma/stepmod-utils#14:
We need a Ruby gem to deal with the https://github.com/glossarist/concept-model model.
This will allow us to use the same basis for ingesting concepts as well exporting them.
This gem will be used in metanorma/metanorma-standoc#255 by @opoudjis .