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 case names when exported #34

Merged
merged 3 commits into from
Jun 14, 2024
Merged

Fix case names when exported #34

merged 3 commits into from
Jun 14, 2024

Conversation

achour94
Copy link
Contributor

@achour94 achour94 commented Jun 10, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

we extract the right base name in cases with extension like '.xml.gz' when we do the export.
Example: converting 'recollement-20230921-1900-enrichi.xml.gz' into xiidm format will be 'recollement-20230921-1900-enrichi.xiidm'

What is the current behavior?

It creates the converted file name by just removing the last extension from the source file.
Example: converting 'recollement-20230921-1900-enrichi.xml.gz' into xiidm format will be 'recollement-20230921-1900-enrichi.xml.xiidm'

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

Signed-off-by: achour94 <berrahmaachour@gmail.com>
@achour94 achour94 requested review from ne0ds and removed request for ne0ds June 10, 2024 13:44
Signed-off-by: achour94 <berrahmaachour@gmail.com>
Copy link
Contributor

@anistouri anistouri left a comment

Choose a reason for hiding this comment

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

Code and tests OK

Signed-off-by: achour94 <berrahmaachour@gmail.com>
Copy link

sonarcloud bot commented Jun 14, 2024

@achour94 achour94 merged commit 40e669e into main Jun 14, 2024
4 checks passed
@achour94 achour94 deleted the fix-exported-case-name branch June 14, 2024 09:27
jonenst added a commit that referenced this pull request Sep 16, 2024
jonenst pushed a commit that referenced this pull request Sep 16, 2024
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.

3 participants