Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 204338

Summary: [prov] Should generate meaningful names for repos
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: IncubatorAssignee: equinox.incubator-inbox <equinox.incubator-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: jeffmcaffer, pascal, susan
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description DJ Houghton CLA 2007-09-21 19:08:40 EDT
I noticed when you add a new artifact repository in the UI, it doesn't have the same name that you entered. On further investigation, it looks like the name is coming from the <name> element in the artifacts.xml. This is incorrect because it is a hard-coded path that was produced during the build.
Comment 1 Jeff McAffer CLA 2007-09-22 20:19:22 EDT
This seems related to bug 204301.  The "name" field of a repo, if set by the repo author/creator, likely should not be changed randomly.  If the client sets the name and then saves, the shared repo name will be changed.  Similarly, if the repo happens to not be writable, currently the model is to not allow the name to be set.

So, if we are going to have user-settable names, they should be "nicknames" or some such.  A reminder or hint to the user.  This would not be persisted in the repo itself but would be stored in the client side repo list (e.g., the preferences) The real name could be editable but that should be an admin operation.
Comment 2 Pascal Rapicault CLA 2007-09-23 21:44:57 EDT
Related bug #204346.
Comment 3 Susan McCourt CLA 2007-09-23 21:49:21 EDT
Since the bugs are a bit overlapping, let's say that this bug refers to the need to generate good repository names in the metadata generator.
Comment 4 Susan McCourt CLA 2007-09-24 11:39:26 EDT
marking this as a dup because
bug #204346 covers the generation issue.
bug #204301 covers oddities with UI, whether name field should even be shown for repos
bug #194224 covers user names for repos.

*** This bug has been marked as a duplicate of bug 204346 ***