archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deng Ching <och...@apache.org>
Subject [Proposal] MRM-1362 - Add 'CRUD' pages for project-level metadata
Date Wed, 21 Apr 2010 09:46:26 GMT
This issue pertains specifically to the add, edit, view and delete of the
version-metadata.properties in the new content model through the webapp, as
discussed in
http://www.mail-archive.com/dev@archiva.apache.org/msg00977.html

How It Would Work:

1. A new tab named "Project Metadata" in the Artifact browse page will be
added.

2. If a version-metadata.properties for the artifact already exists, the
contents will be retrieved then displayed in the "Project Metadata" page.
The user will have an option to edit and delete the metadata. The metadata
can be deleted whether it contains any information or not, since it can be
re-created during the repo scan.

   - Each property or set of properties will be displayed as fields that can
be modified.
   - To keep the info in the POM and the project version metadata
consistent, content that are directly taken from the POM cannot be edited
nor deleted. But additional data can be added.

     For example, for the Description property.. the info obtained from the
POM (<description>) will be displayed as read only. But the user can add
additional description, which will be stored in a separate property in the
version-metadata.properties.
     Another example is the Licenses property.. the licenses specified in
the POM will only be readable. But the user can add another license, which
will again be stored in a separate property. Duplicates will not be
accepted.

3. Otherwise, if a version-metadata.properties for the artifact does not
exist, the user will have the option to create the metadata.

Lastly, only users with Repository Manager roles will have add, update and
delete access to the project version metadata.

Thoughts or comments are welcome :)

Thanks,
Deng

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message