•  
     
    story #36484 create a new project from an XML template
Summary
Empty
create a new project from an XML template

I can easily share templates from one platform to another

Overview

In project creation screen, in "For advanced users " section, I can

  1. Select "From Project Template Upload". Description: "Create a project based on a template exported from another platform".
  2. This allows me to select a ".zip" file that contains an XML project template (like the one generated by Project Export)
  3. I can then move on next step for project name, description & co
  4. I can "Create new project"

The verification of the consistency of the XML template is only done when the use clicks on "Create new project".

There is toggle, managed by config-set (enabled by default), for this feature.

Edge cases

Management of users

With CLI import, users are imported. With GUI import, users are entirely skipped, no data (users are data) are created. If there are users in the file, then the project creation is not done and returns an error

Empty
Empty
Status
Project admin
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#36484
Manuel Vacelet (vaceletm)
2024-04-24 10:53
2024-02-01 15:57
38435

References
Referencing story #36484

Git commit

tuleap/tuleap/stable

refactor: Put the `From another project I'm admin of ` in a dedicated a7abba03c7
Introduce composition API in project registration vue app 5d6721e0ce
Feature flag + Add the route which handle the file project upload. bba05ac7bd
feat: check that only people who can create project can use REST route d12902298f
Be able to upload th file which will be used to create the new project e6745ac518
Chore: Add missing rest tests for POST project_files e222819423
Reject upload when provided file is not an archive 73e3f722b7
[chore] prepare merge of POST project_files route inside POST projects 9a4e92ed26
[refacto]Move route POST project_files into POST project 4802298035
Add a the `From project template` card 59b35f491c
chore: remove dead code canUserAccessUserGroupInfo 598895e9de
refactor: Rename CreatedFileRepresentation f9d2e2333e
refactor: replace the `From project template` card's icon 7aacadc9b5
feat: Send 404 if project is not active nor deleted nor suspended d941b084e7
refactor: project creation to EasyDB 08552a4865
feat: Create project before sending tus url 779dc9036c
feat: store project id alongside tus information e1761687aa
feat: upload the archive file and "create" the project. d8cf55669e
feat: import XML archive into new project 68f371e409
feat: import of project archive is now async 8e55171603
feat: Check worker availability for xml import 1536260f79
feat: Force reconnection to the DB 6bcd950b08
feat: dry-run ends up in 400 if from archive 4b55d17250
feat: Activate project after archive import c38848186b
feat: Handle dangling expired uploaded archive d135532898
feat: Prevent access to project not imported d1f996d6e1
feat: Indicate in project details if created from archive 6f35eca82d
feat: redirect to a dedicated page if the project is created from an adac6b1f76
feat: Ability to dl the archive used to create project 975f62f102
feat: notify project admin after project import 8f53633798
fix: display the error when the project creation fails 493f2811ca
fix: Clean up after creating project from an archive c4aadf424e
feat: Do not inherit TV3 templates during archive import 1b175e9e29
fix: agiledashboard import during archive import 58e4e48e39
fix: Remove check of zip archive in finisher 9d64c214de
feat: poll project creation 385c881ab6
feat: Check archive does not contain data 1137606114
feat: Cleanup dangling project created from an archive 103b35c385
fix: Do nothing in add_project_file_upload_table bucket d721a1bd99
feat: Display tus upload failure in UI 140a392f2e
feat: async failure => send email ea060f1369
feat: Be able to disable the xml creation via a new `config-set` 873cd099ba
feat: Document REST route for create project from archive 7085f7bb6d
Covers project creation from xml template with e2e tests a363ba2081
Referenced by story #36484

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes