Skip to content

#1695: Clone settings to temporary directory, analyse, and then move - #2335

Draft
laim2003 wants to merge 12 commits into
devonfw:mainfrom
laim2003:feature/#1695-settings-tempdir-verification
Draft

#1695: Clone settings to temporary directory, analyse, and then move#2335
laim2003 wants to merge 12 commits into
devonfw:mainfrom
laim2003:feature/#1695-settings-tempdir-verification

Conversation

@laim2003

Copy link
Copy Markdown
Contributor

This PR fixes #1695

Implemented changes:

  • When creating a new project (or updating a project with a broken settings directory), the settings or code-settings directory passed through ide create projectname <<git-url>> is pulled to a temporary directory. There, we check whether the repository is a valid settings or code-settings repository and if the check succeeds, we move it to the final location depending on the repo type (and symlink in case of a code-settings repo).
  • Removed the --code flag of ide create as we now automatically detect the type of the repository.

Testing instructions

Please add conscise, understandable instructions on how a reviewer can test/verify the functionality of your contribution here:


Checklist for this PR

Make sure everything is checked before merging this PR. For further info please also see
our DoD.

  • When running mvn clean test locally all tests pass and build is successful
  • PR title is of the form #«issue-id»: «brief summary» (e.g. #921: fixed setup.bat and not feature/921 fixed setup.bat). If no issue ID exists, title only.
  • PR top-level comment summaries what has been done and contains link to addressed issue(s)
  • PR and issue(s) have suitable labels
  • Issue is set to In Progress and assigned to you or there is no issue (might happen for very small PRs)
  • You followed all coding conventions
  • You have added the issue implemented by your PR in CHANGELOG.adoc unless issue is labelled
    with internal
  • You have not changed any dependency in pom.xml files or otherwise if runtime dependencies changed, you have updated our LICENSE.asciidoc
  • You have formulated clear instructions on how to test your contribution under "Testing instructions"

Signed-off-by: laim2003 <luk.faber@gmx.de>
Signed-off-by: laim2003 <luk.faber@gmx.de>
…itory.

Signed-off-by: laim2003 <luk.faber@gmx.de>
…ir, verifies its health and then moves it to the IDE_HOME

Signed-off-by: laim2003 <luk.faber@gmx.de>
Signed-off-by: laim2003 <luk.faber@gmx.de>
Signed-off-by: laim2003 <luk.faber@gmx.de>
Signed-off-by: laim2003 <luk.faber@gmx.de>
Signed-off-by: laim2003 <luk.faber@gmx.de>
@github-project-automation github-project-automation Bot moved this to 🆕 New in IDEasy board Aug 14, 2026
@laim2003 laim2003 self-assigned this Aug 14, 2026
@laim2003 laim2003 moved this from 🆕 New to 🏗 In progress in IDEasy board Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

Clone settings to temporary directory, analyse, and then move

1 participant