Skip to content

refactor(import): better handling of duplicate packages#156

Merged
nikoksr merged 1 commit intomasterfrom
handle-duplicate-packages
Jul 29, 2020
Merged

refactor(import): better handling of duplicate packages#156
nikoksr merged 1 commit intomasterfrom
handle-duplicate-packages

Conversation

@nikoksr
Copy link
Copy Markdown
Collaborator

@nikoksr nikoksr commented Jul 29, 2020

Summary

When importing a package with a duplicate label (one that already exists
in storage) proji used to just cancel the import. You had to alter the
label of the existing package in order for you to be able to import the
new package.
Now, when proji detects a duplicate label import it will export the
config of the new package into the user cwd. The user can edit the label
in the config to his liking and import the config afterwards.

Proposed Changes

  • export config of new package when duplicate label is detected

Resolved Issues

Closes #138

When importing a package with a duplicate label (one that already exists
in storage) proji used to just cancel the import. You had to alter the
label of the existing package in order for you to be able to import the
new package.
Now, when proji detects a duplicate label import it will export the
config of the new package into the user cwd. The user can edit the label
in the config to his liking and import the config afterwards.

Closes #138
@nikoksr nikoksr merged commit c846aff into master Jul 29, 2020
@nikoksr nikoksr deleted the handle-duplicate-packages branch July 29, 2020 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow package replacements

1 participant