option to upload zip/tar of files to be indexed that are not in an accessible/supported repository

Submitted by Danny Groenewegen on 6 June 2012 at 16:44

On 28 July 2012 at 14:34 Elmer van Chastelet closed this issue.

On 28 July 2012 at 14:34 Elmer van Chastelet commented:

We probably should only allow this through management page, and not through requests.

Implementation idea:

  • add an entity LocalRepository : Repository
  • Skip LocalRepository entities on updates
  • Allow replacing property LocalRepository.fileContainer with a new uploaded zip/tar/gz/rar/…
  • Checkout for a LocalRepository should unzip/untar/unXXX to a temp dir, similar to svn checkout, and then use Svn.addEntryRecursive(String repo, String dir, File dst, List entries).
  • Where we normally place a link to a repo path in the viewFile template, for LocalRepository entries this should be only text with the file path.

On 28 July 2012 at 14:34 Elmer van Chastelet reopened this issue.

On 7 December 2012 at 21:16 Elmer van Chastelet commented:

Added in commit b22553fbeb8 (and 2 more commits)


On 7 December 2012 at 21:16 Elmer van Chastelet closed this issue.

Log in to post comments