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

feature/161 - Add duplicate() method to Project (#161) #163

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

psybers
Copy link
Contributor

@psybers psybers commented Dec 24, 2023

Description

This PR adds a duplicate() method to the Project model, which will duplicate the project on Taiga when called. This causes Taiga to make a new project using the newly specified name/description/is_private/users, but copying the original project's settings, including color names, priorities, etc. It does not duplicate any user stories or tasks.

References

Fix #161

Checklist

  • I have read the contribution guide
  • Code lint checked via inv lint
  • changes file included (see docs)
  • Usage documentation added in case of new features
  • Tests added

Copy link

codecov bot commented Dec 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (380660e) 96.49% compared to head (df5c3ab) 96.51%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
+ Coverage   96.49%   96.51%   +0.01%     
==========================================
  Files           8        8              
  Lines         914      918       +4     
  Branches       69       69              
==========================================
+ Hits          882      886       +4     
  Misses         19       19              
  Partials       13       13              
Flag Coverage Δ
unittests 96.51% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coveralls
Copy link

Coverage Status

coverage: 97.93% (+0.009%) from 97.921%
when pulling df5c3ab on psybers:feature/161-add-duplicate
into 380660e on nephila:master.

@protoroto
Copy link
Member

@psybers Thank you very much for this! It looks good, I'll have @yakky have a look at it after Christmas to merge and release a new version!

@yakky
Copy link
Member

yakky commented Dec 28, 2023

@psybers awesome, thanks a lot 👍

@yakky yakky merged commit e175d86 into nephila:master Dec 28, 2023
18 checks passed
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.

Project duplication
4 participants