Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync: ncbo v5.33.0 release #15

Merged
merged 86 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
6625ca9
add an abstraction to the diff tool
syphax-bouazzouni Apr 4, 2022
84ac55b
add submission process operation abstraction
syphax-bouazzouni Apr 4, 2022
f67e6db
auto lint refactor of ontologies_linked_data.rb
syphax-bouazzouni Apr 4, 2022
aa0d4c8
add the requires of the services modules
syphax-bouazzouni Apr 4, 2022
8883e13
add the SubmissionArchiver operation
syphax-bouazzouni Apr 4, 2022
d31637d
adding the RDF generator operation
syphax-bouazzouni Apr 4, 2022
1dbca52
adding the OntologySubmissionIndexer operation
syphax-bouazzouni Apr 4, 2022
7bea7e4
adding the SubmissionPropertiesIndexer
syphax-bouazzouni Apr 4, 2022
e658b66
adding the SubmissionMetricsCalculator operation
syphax-bouazzouni Apr 4, 2022
4e1aff5
adding the SubmissionDiffGenerator operation
syphax-bouazzouni Apr 4, 2022
4b1e4ec
add the submission processor operation
syphax-bouazzouni Apr 4, 2022
0bce026
move the submission operations to an external module
syphax-bouazzouni Apr 4, 2022
85a25e4
change the index argument name from 'index_commit' to just 'commit'
syphax-bouazzouni Apr 4, 2022
efc0709
add :ontologies to the serialize_default of the group model
syphax-bouazzouni May 23, 2022
b09fd4e
Merge branch 'upstream' into pl/refacotor-ontology-submission
syphax-bouazzouni Jan 24, 2023
604e5cb
Fix NameError: undefined subject
jvendetti Apr 17, 2024
e3de5fe
Create ERB template for OBO Foundry notification
jvendetti Apr 18, 2024
bd2ad7f
Generate notification body from template
jvendetti Apr 18, 2024
c879069
Merge branch 'master' into pl/refacotor-ontology-submission
syphax-bouazzouni Apr 20, 2024
d885010
fixes based on feedback from @syphax-bouazouni in #194
mdorf Mar 14, 2024
ab7b2f0
Gemfile.lock update
mdorf Apr 24, 2024
cf8100e
Gemfile.lock update after merging pull request #150
mdorf Apr 24, 2024
5f9846a
Gemfile.lock update
mdorf Apr 24, 2024
e2a27e4
merged #143 - Refactor: ontology_submission.rb file to isolate the pr…
mdorf Apr 24, 2024
cf3ff84
merged #143 - Refactor: ontology_submission.rb file to isolate the pr…
mdorf Apr 24, 2024
da1642e
use owlapi_wrapper for max_depth calculation
alexskr Apr 25, 2024
b10c64a
Gemfile.lock update
mdorf Apr 30, 2024
308d6a9
Merge pull request #198 from ncbo/develop
alexskr May 3, 2024
8157c65
reset branch specifier to master
alexskr May 3, 2024
a3f6cf0
reapply PR #153
alexskr May 4, 2024
02986ff
Merge branch 'develop'
alexskr May 4, 2024
5391eb6
Merge remote-tracking branch 'upstream/master' into upstream
syphax-bouazzouni May 4, 2024
37f74d3
add the serialize_defaults if attributes to load set to :all and some…
syphax-bouazzouni May 6, 2024
b6134ff
when archiving a submission delete old files and zip master file if big
syphax-bouazzouni May 6, 2024
4304cc4
refactor tests to be faster by doing the indexation step only if nedded
syphax-bouazzouni May 6, 2024
36a5b68
display the language tags when serializing the results to JSON
syphax-bouazzouni May 6, 2024
ccf753f
update the term index step to include all languages
syphax-bouazzouni May 6, 2024
fc48343
add multilingual support unit tests
syphax-bouazzouni May 6, 2024
a192308
Add GitHub and ORCID IDs to the User model
jvendetti May 7, 2024
f6764a8
Merge pull request #199 from ontoportal-lirmm/pr/sync-agroportal-ncbo
alexskr May 8, 2024
ea7b31b
reset branch specifier to develop
alexskr May 8, 2024
56fb68f
Merge pull request #201 from ncbo/feature/add-user-attributes/160
jvendetti May 8, 2024
0227d37
Add GitHub and ORCID IDs to the User model
jvendetti May 7, 2024
7431a7b
fix serialization of properties using lambda as a property attribute
syphax-bouazzouni May 10, 2024
b208745
do not send email notification when submissions are archived
alexskr May 9, 2024
29e3028
sort labels prior to selecting one from multiple options
alexskr May 13, 2024
341548e
Merge remote-tracking branch 'upstream/develop' into pr/sync-agroport…
syphax-bouazzouni May 18, 2024
6cc6cce
use goo ncbo latest version
syphax-bouazzouni May 18, 2024
066c6c5
fix context language to not by empty if submission languages values a…
syphax-bouazzouni May 18, 2024
755c8b4
request all the lanugage when generating missing labels to not genera…
syphax-bouazzouni May 18, 2024
0b0bd22
update the rdf generator code to re-apply the usage of owlapi_parser …
syphax-bouazzouni May 18, 2024
2a849c7
Merge branch 'fix/lambda-serialization' into pr/sync-agroportal-ncbo
syphax-bouazzouni May 18, 2024
c83b0d5
add context parents generation tests
syphax-bouazzouni May 18, 2024
ffc648f
complete metadata extraction test
syphax-bouazzouni May 18, 2024
33af750
Merge branch 'feature/multilingual-support-add-search-and-languages-s…
syphax-bouazzouni May 18, 2024
3b9d3f1
add test for the not sending submission process when archived
syphax-bouazzouni May 18, 2024
f14a7eb
Merge branch 'pr/sync-agroportal-ncbo' of github.com:ontoportal-lirmm…
syphax-bouazzouni May 18, 2024
a4bfc7f
re-implemented the missing changes removed by the multi-lingual PRs
mdorf May 20, 2024
829e0ea
re-implemented the missing changes removed by the multi-lingual PRs
mdorf May 20, 2024
6dc0ab9
fixed failing unit tests
mdorf May 21, 2024
112e39b
Merge pull request #204 from ontoportal-lirmm/pr/sync-agroportal-ncbo
alexskr May 21, 2024
47fa900
Merge branch 'feature/multilingual-support-add-search-and-languages-s…
alexskr May 21, 2024
c2beff6
Merge pull request #205 from ncbo/develop
alexskr May 21, 2024
b9a6a9d
Merge pull request #206 from ncbo/feature/multilingual-support-add-se…
alexskr May 21, 2024
0480874
Gemfile.lock update
mdorf May 21, 2024
c8c78d4
Merge pull request #146 from ontoportal-lirmm/pr/add-ontologies-to-se…
alexskr May 22, 2024
db5a888
Revert "Feature: add :ontologies to the serialize_default of the grou…
alexskr May 22, 2024
67bfd05
Merge pull request #207 from ncbo/revert-146-pr/add-ontologies-to-ser…
alexskr May 22, 2024
013a322
add :ontologies to the serialize_default of the group model
alexskr May 22, 2024
f339344
Merge pull request #210 from ncbo/develop
alexskr Jun 12, 2024
70fc2c8
Gemfile update
alexskr Jun 12, 2024
30a367b
typo fix
alexskr Jul 16, 2024
f32bc17
disable debug logging (issue not fully resolved)
alexskr Sep 22, 2024
c30887e
use docker compose instead of docker-compose
alexskr Sep 22, 2024
fa8511d
Update Ruby: v2.7 → v3.0 (#214)
alexskr Sep 24, 2024
a22fae3
Gemfile.lock update
alexskr Sep 25, 2024
a9da098
Merge pull request #215 from ncbo/develop
alexskr Sep 25, 2024
6a6bde7
Gemfile.lock update
alexskr Oct 1, 2024
d455d9f
fix : prevent serialization of sensitive data
muhammedBkf Sep 30, 2024
0926cd4
remove syntax error
syphax-bouazzouni Oct 1, 2024
7dbf782
Gemfile.lock update
alexskr Oct 1, 2024
5b44098
Merge pull request #197 from ncbo/refactor/erb-notification
alexskr Oct 1, 2024
8572cd2
fix typo
alexskr Oct 1, 2024
812dd78
Merge pull request #216 from ontoportal-lirmm/pr/fix/serillize-never
alexskr Oct 2, 2024
6b1df08
Merge pull request #217 from ncbo/develop
alexskr Oct 7, 2024
9ab4be4
reset branch specifier to master
alexskr Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ruby-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
run: ./test/solr/generate_ncbo_configsets.sh
- name: create config.rb file
run: cp config/config.test.rb config/config.rb
- name: Build docker-compose
run: docker-compose --profile 4store build #profile flag is set in order to build all containers in this step
- name: Build docker compose
run: docker compose --profile 4store build #profile flag is set in order to build all containers in this step
- name: Run unit tests
# unit tests are run inside a container
# http://docs.codecov.io/docs/testing-with-docker
run: |
ci_env=`bash <(curl -s https://codecov.io/env)`
docker-compose run $ci_env -e CI --rm ${{ matrix.backend }} bundle exec rake test TESTOPTS='-v'
docker compose run $ci_env -e CI --rm ${{ matrix.backend }} bundle exec rake test TESTOPTS='-v'
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.bundle/
*.swp
*.gemtags
.bundle
Expand Down
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ COPY Gemfile* /srv/ontoportal/ontologies_linked_data/

WORKDIR /srv/ontoportal/ontologies_linked_data

# set rubygem and bundler to the last version supported by ruby 2.7
# remove version after ruby v3 upgrade
RUN gem update --system '3.4.22'
RUN gem install bundler -v 2.4.22
RUN gem update --system
RUN gem install bundler
ENV BUNDLE_PATH=/srv/ontoportal/bundle
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ gem 'rest-client'
gem 'rsolr'
gem 'rubyzip', '~> 1.0'
gem 'thin'
gem 'request_store'


# Testing
group :test do
Expand All @@ -31,7 +33,6 @@ end
group :development do
gem 'rubocop', require: false
end

# NCBO gems (can be from a local dev path or from rubygems/git)
gem 'goo', github: 'ncbo/goo', branch: 'master'
gem 'sparql-client', github: 'ncbo/sparql-client', branch: 'master'
110 changes: 61 additions & 49 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
GIT
remote: https://github.com/ncbo/goo.git
revision: 75436fe8e387febc53e34ee31ff0e6dd837a9d3f
revision: f943ac33e87c55c88131c32d826ed5d39c89302c
branch: master
specs:
goo (0.0.2)
addressable (~> 2.8)
pry
rdf (= 1.0.8)
redis
request_store
rest-client
rsolr
sparql-client
uuid

GIT
remote: https://github.com/ncbo/sparql-client.git
revision: d418d56a6c9ff5692f925b45739a2a1c66bca851
revision: e89c26aa96f184dbe9b52d51e04fb3d9ba998dbc
branch: master
specs:
sparql-client (1.0.1)
Expand All @@ -32,58 +33,64 @@ GEM
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
ansi (1.5.0)
ast (2.4.2)
base64 (0.2.0)
bcrypt (3.1.20)
bigdecimal (3.1.6)
builder (3.2.4)
bigdecimal (3.1.8)
builder (3.3.0)
childprocess (5.1.0)
logger (~> 1.5)
coderay (1.1.3)
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
cube-ruby (0.0.3)
daemons (1.4.1)
date (3.3.4)
docile (1.4.0)
docile (1.4.1)
domain_name (0.6.20240107)
email_spec (2.2.2)
email_spec (2.3.0)
htmlentities (~> 4.3.3)
launchy (~> 2.1)
launchy (>= 2.1, < 4.0)
mail (~> 2.7)
eventmachine (1.2.7)
faraday (2.8.1)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
ffi (1.16.3)
faraday (2.12.0)
faraday-net_http (>= 2.0, < 3.4)
json
logger
faraday-net_http (3.3.0)
net-http
ffi (1.17.0-aarch64-linux-gnu)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
hashie (5.0.0)
htmlentities (4.3.4)
http-accept (1.7.0)
http-cookie (1.0.5)
http-cookie (1.0.7)
domain_name (~> 0.5)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
json (2.7.1)
json_pure (2.7.1)
json (2.7.2)
json_pure (2.7.2)
language_server-protocol (3.17.0.3)
launchy (2.5.2)
launchy (3.0.1)
addressable (~> 2.8)
childprocess (~> 5.0)
libxml-ruby (5.0.3)
logger (1.6.0)
logger (1.6.1)
macaddr (1.7.2)
systemu (~> 2.6.5)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
net-pop
net-smtp
method_source (1.0.0)
mime-types (3.5.2)
method_source (1.1.0)
mime-types (3.6.0)
logger
mime-types-data (~> 3.2015)
mime-types-data (3.2024.0305)
mime-types-data (3.2024.1001)
mini_mime (1.1.5)
minitest (4.7.5)
minitest-reporters (0.14.24)
Expand All @@ -92,23 +99,27 @@ GEM
minitest (>= 2.12, < 5.0)
powerbar
multi_json (1.15.0)
net-http (0.4.1)
uri
net-http-persistent (2.9.4)
net-imap (0.4.10)
net-imap (0.4.16)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.2)
timeout
net-smtp (0.4.0.1)
net-smtp (0.5.0)
net-protocol
netrc (0.11.0)
oj (3.16.3)
oj (3.16.6)
bigdecimal (>= 3.0)
ostruct (>= 0.2)
omni_logger (0.1.4)
logger
parallel (1.24.0)
parser (3.3.0.5)
ostruct (0.6.0)
parallel (1.26.3)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
pony (1.13.1)
Expand All @@ -118,44 +129,44 @@ GEM
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (5.0.4)
racc (1.7.3)
rack (2.2.8.1)
public_suffix (6.0.1)
racc (1.8.1)
rack (2.2.9)
rack-test (0.8.3)
rack (>= 1.0, < 3)
rainbow (3.1.1)
rake (10.5.0)
rdf (1.0.8)
addressable (>= 2.2)
redis (5.1.0)
redis-client (>= 0.17.0)
redis-client (0.21.0)
redis (5.3.0)
redis-client (>= 0.22.0)
redis-client (0.22.2)
connection_pool
regexp_parser (2.9.0)
regexp_parser (2.9.2)
request_store (1.7.0)
rack (>= 1.4)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rexml (3.2.6)
rsolr (2.5.0)
rexml (3.3.8)
rsolr (2.6.0)
builder (>= 2.1.2)
faraday (>= 0.9, < 3, != 2.0.0)
rubocop (1.62.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
rubyzip (1.3.0)
simplecov (0.22.0)
docile (~> 1.1)
Expand All @@ -164,7 +175,7 @@ GEM
simplecov-cobertura (2.1.0)
rexml
simplecov (~> 0.19)
simplecov-html (0.12.3)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
systemu (2.6.5)
thin (1.8.2)
Expand All @@ -174,14 +185,14 @@ GEM
thread_safe (0.3.6)
timeout (0.4.1)
tzinfo (0.3.62)
unicode-display_width (2.5.0)
unicode-display_width (2.6.0)
uri (0.13.1)
uuid (2.3.9)
macaddr (~> 1.0)

PLATFORMS
aarch64-linux
arm64-darwin-22
x86_64-darwin-21
x86_64-linux

DEPENDENCIES
Expand All @@ -203,6 +214,7 @@ DEPENDENCIES
rack
rack-test (~> 0.6)
rake (~> 10.0)
request_store
rest-client
rsolr
rubocop
Expand Down
Loading