[jboss-jira] [JBoss JIRA] Updated: (JBBUILD-670) Migrate existing Nexus Audit information to standard XML format
Paul Gier (JIRA)
jira-events at lists.jboss.org
Sun May 29 22:09:01 EDT 2011
[ https://issues.jboss.org/browse/JBBUILD-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Gier updated JBBUILD-670:
------------------------------
Component/s: Artifact Repositories
> Migrate existing Nexus Audit information to standard XML format
> ---------------------------------------------------------------
>
> Key: JBBUILD-670
> URL: https://issues.jboss.org/browse/JBBUILD-670
> Project: JBoss Build System
> Issue Type: Task
> Components: Artifact Repositories
> Reporter: Paul Gier
> Assignee: Paul Gier
> Priority: Critical
> Fix For: Build Support 2011
>
> Attachments: jboss-servlet-api-2.5.0.GA.jar, jboss-test-1.1.6-SNAPSHOT.pom.md5
>
>
> We currently have audit information (username, timestamp) stored in .json files in the repository. Nexus uses an XML format to store this information, and recent versions of Nexus allow easy way to view this information in the Nexus UI. The existing audit information should be migrated to the standard Nexus XML format.
> These XML files are located in the directory "sonatype-work/nexus/proxy/attributes". For each file in each Maven repository hosted by Nexus, there is a file with the same name in this attributes directory. For example, "sonatype-work/nexus/proxy/attributes/jboss-releases/org/jboss/javaee/jboss-servlet-api/2.5.0.GA/jboss-servlet-api-2.5.0.GA.jar" is actually an XML file containing the attributes for the named jar file.
> Note: even though the files end with ".jar" or ".md5", they are actually XML files.
> The artifacts that were released before the original Nexus migration do not include a username in the XML file, although they do include a timestamp. This appears to be the file creation date. In the migration, these timestamps should be overwritten if possible.
> 1. Check whether the user field exists for a given file.
> 2. If it does not exist, copy the username and timestamp fields to the Nexus attribute file.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list