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

fix: fix markers population in generis.conf #3860

Merged
merged 6 commits into from
Aug 17, 2023

Conversation

KirylHatalski
Copy link
Contributor

@KirylHatalski KirylHatalski commented Jul 31, 2023

Fix for markers placement in generis.conf.php.

Example of .env usage:

AWS_STACK_CONFIG_ORIGIN=tao-community.docker.localhost/
AWS_STACK_CONFIG_SOURCE=ontologies/tao.rdf
AWS_STACK_CONFIG_NAMESPACE=https://${AWS_STACK_CONFIG_ORIGIN}${AWS_STACK_CONFIG_SOURCE}

Example of seed.json usage:

"global": {
      "lang": "en-US",
      "mode": "debug",
      "instance_name": "tao-community",
      "namespace": "$ENV{AWS_STACK_CONFIG_NAMESPACE}",
      "url": "https://tao.docker.localhost/",
      "session_name": "tao_community",
      "timezone": "Europe/Luxembourg",
      "import_data": true
    },

Fix contain extension for .env operation scope on installation step and additional type of insertion for parsed from configs markers.
Also fix contain logging change, for reducing logs doublication.

@codecov-commenter
Copy link

codecov-commenter commented Jul 31, 2023

Codecov Report

Merging #3860 (f0002c5) into develop (fb34187) will decrease coverage by 0.01%.
Report is 12 commits behind head on develop.
The diff coverage is 14.28%.

@@              Coverage Diff              @@
##             develop    #3860      +/-   ##
=============================================
- Coverage      27.58%   27.58%   -0.01%     
- Complexity     10972    10975       +3     
=============================================
  Files            922      922              
  Lines          33900    33909       +9     
=============================================
+ Hits            9351     9353       +2     
- Misses         24549    24556       +7     
Files Changed Coverage Δ
install/class.Setup.php 0.00% <0.00%> (ø)
install/init.php 0.00% <0.00%> (ø)
install/utils/class.ConfigWriter.php 0.00% <0.00%> (ø)
...sses/configurationMarkers/ConfigurationMarkers.php 67.16% <66.66%> (-0.03%) ⬇️

@serge-salamanka
Copy link

if it works for concatenated .env strings then is a great change

Copy link
Contributor

@bartlomiejmarszal bartlomiejmarszal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Checklist

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master
  • Commits are following conventional commits
  • Commits messages are meaningful
  • Commits are atomic
  • Changelog is updated according to changes (if applicable)
  • Documentation is updated according to changes (if applicable)

install/class.Setup.php Outdated Show resolved Hide resolved
install/init.php Show resolved Hide resolved
install/utils/class.ConfigWriter.php Show resolved Hide resolved
install/class.Setup.php Outdated Show resolved Hide resolved
Co-authored-by: Héctor Arroyo <[email protected]>
Signed-off-by: Kiril Hatalski <[email protected]>
@github-actions
Copy link

Version

❕ Some commits are not using the conventional commits formats. They will be ignored in version management.

Target Version 53.5.1
Last version 53.5.0

There are 0 BREAKING CHANGE, 0 feature, 3 fixes

@KirylHatalski KirylHatalski merged commit ca6d4a3 into develop Aug 17, 2023
4 checks passed
@bartlomiejmarszal bartlomiejmarszal deleted the fix/AUT-3251/markers-are-not-applied branch August 17, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants