Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
A
AF3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 258
    • Issues 258
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • af3
  • AF3
  • Issues
  • #3996

Closed
Open
Opened Apr 09, 2020 by Alexander Diewald@diewaldGuest

Import capability for library elements

Intention

Placeholder for the case that libraries are fully supported again.

Details

The current import code for AF3 Projects scans for libraries in the source directory and copies them to the import location. Thereby, the code overwrites existing libraries.
Consequently, the code risks data loss! Thus, in the ticket #3993 (closed), the import of libraries will be removed.

In order to properly support importing of AF3 Projects with library elements, the following approach must be taken:

  • Check if elements from a library are referenced.
  • If so, check if a library exists in the target location.
  • If not, create one.
  • Add each referenced element from the source library to the target library.
  • If an equivalently named and scoped element exists in the target directory, error-out or offer some handling to the user.

NOTE, that this logic must be executed BEFORE the project file is copied to the target directory to maintain the references when the kernel performs the actual import.

@eder: Please

(from redmine: issue id 3996, created on 2020-04-09)

Assignee
Assign to
AF3 2.19 - Feature Freeze
Milestone
AF3 2.19 - Feature Freeze
Assign milestone
Time tracking
None
Due date
None
Reference: af3/af3#3996