Ticket #2206 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Include instance creation scripts in CPS itself

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.1
Component: Packaging Version: 3.5.1rc2
Severity: normal Keywords:
Cc:

Description

The two scripts: mkcpsinstance and mkcpsdevinstance aren't in CPS itself because they rely on a priori knowledge of the location of mkzopeinstance.py (note that makecpssite.py is a job for existing Zope instances and that of course both scripts rely on the latter).

They should be included (CPSUtil/bin as usual) by simply make the path to Zope's bin directory an option. Benefits:

  • will be easier to have more packaging options
  • they can be called right away on dev boxes with no need of the debian packages.

Of course packaging from 3.5.1-rc3 on should rely on that

Change History

comment:1 Changed 7 years ago by gracinet

  • Component changed from CPS (global) to Packaging

comment:2 Changed 7 years ago by gracinet

Done and pushed in CPSUtil/bin. A few more improvements:

  • automatic filesystem themes container creation from a source (was only referenced in ZODB) either as a symlink (-l) or as a copy (-d)
  • mkcpsdevinstance: for consistency, query string in bundle URL now urlencoded.
  • mkcpsdevinstance: new 'branch' argument in bundle URL

Keeping open until make_deb.sh in packaging scripts use the new ones (ie for rc3)

comment:3 Changed 7 years ago by gracinet

  • Status changed from new to closed
  • Resolution set to fixed

There will not be any rc3.

Note: See TracTickets for help on using tickets.