Skip to content

Add Copy Feature for Licenses from Another Library #9

@savu-a

Description

@savu-a

Is your feature request related to a problem? Please describe.
Between two releases of the same product:

  • Usually, we have similar libraries with different versions, which are under the same licenses.
  • Currently, we need to enter the same licenses from scratch for every OSS List/ release.

Describe the solution you'd like
For every library, we add a button "copy/import" at “details”; where we can choose what library’s licenses can be copied
image

Features and Error handling

  • A library that does not exist should either not be possible to be specified to copy from, or the result should be an empty set of licenses for the new library (ie. "do nothing")
  • If the new library already has licenses added to it, it needs to be decided if the copied licenses should be appended, or overwrite the existing ones
  • Ideally the user should decide the behaviour, either via a setting or as an interactive menu
  • Depending on the implementation, a mass copy function would be helpful, which copies a large(r) amount of licenses (if that is possible without too much work)
  • The source library (to copy from) should not be identical to the target library, or alternatively, in that case, make sure to do nothing

Acceptance criteria

  • Function is implemented to copy licenses to a given library from another (existing) library
  • Function is located at a place where it integrates well into the workflow
  • Test: The function needs to work with different scenarios as specified under "Features and Error handling". Test if all specified scenarios work.

Describe alternatives you've considered
N/A

Additional context
Some libraries can have 10-15 licenses per library, so it will be helpful to have a copy/import function in Lucy for licenses (for every library). This way we can reduce manual work and save a lot of time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions