ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilfried Sibla (JIRA)" <>
Subject [jira] [Commented] (ACE-402) Change file repository layout and prefs usage
Date Wed, 11 Sep 2013 12:10:51 GMT


Wilfried Sibla commented on ACE-402:

I think it would be good have this change. Because the current solution would not work after
deleting (for whatever reason) the bundle cache.
And if such a action would be necessary, the repos must be recreated from the scratch....
Could be a blocker issue for us.

Changing this would have the benefit of being able to copy/move the repos to another server.
> Change file repository layout and prefs usage
> ---------------------------------------------
>                 Key: ACE-402
>                 URL:
>             Project: ACE
>          Issue Type: Improvement
>          Components: Repository
>    Affects Versions: 1.0.0
>            Reporter: Bram de Kruijff
> ACE-391 added optional configuration to the file repositories, but there are still two
concerns that I would like to address which are not strictly backward compatible.
> 1) The RepositoryFactory assigns working directories based on the PID which is a hard
to interpret randomly generated number. As we have logical concepts as 'customer' and 'name'
for repositories I suggest to use those (in a fs safe fashion) instead.
> Eg.
> current layout       : <basedir>/<pid>/<revision><extension>
> proposed layout   : <basedir>/<customer>/<name>/<revision>[extension]
> 2) The RepositoryFactory uses prefs (keeping unsafe refs which is a bug) for, AFAICS,
the sole purpose of guaridng uniqueness of customer/name combination. Addressing the layout
as described in 1 voids the need for prefs altogether so I ould like to remove it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message