Ticket #99 (closed task: fixed)

Opened 10 months ago

Last modified 3 months ago

Split debian packages to extract an ezweb-platform-common

Reported by: apoloval Assigned to: apoloval
Priority: major Milestone: Software packaging
Component: Package system Version:
Keywords: Cc:

Description

Packages proposed, ezweb-platform-sqlite3, ezweb-platform-postgres and ezweb-platform-mysql contains common data, i.e. the ezweb-platform code and Apache 2 configuration. This data may be extracted to form a new package called ezweb-platform-common which contains such items and let each specialization to configure the environment for itself.

Change History

02/04/08 14:07:13 changed by apoloval

  • status changed from new to assigned.
  • summary changed from Split debian packages to extract a ezweb-platform-common to Split debian packages to extract an ezweb-platform-common.

02/04/08 14:08:35 changed by apoloval

Files create-deb.sh, debian-control and debian-postinst copied from SQLite3 package to be modified and adapted.

02/04/08 14:16:37 changed by apoloval

In create-deb.sh, this changes are made:

  • Variable COMMON_DIR has no more sense, so BASE_DIR is used instead.
  • File settings.py is modified to insert known tags which will be substituted in children packages.
  • Package name set to ezweb-platform-common'.

(follow-up: ↓ 9 ) 02/04/08 14:18:53 changed by apoloval

In debian-control

  • Package name set to ezweb-platform-common
  • DBMS front-end for python package dependency removed
  • Description modified

02/04/08 14:27:08 changed by apoloval

In debian-postinst database-related code is removed

02/04/08 14:34:54 changed by apoloval

For SQLite3 package:

  • In debian-control, dependencies set to ezweb-platform-common and python-sqlite2 only. Description is also altered.
  • In create-deb.sh commands related to common-package are removed
  • In debian-postinst just create the database directory and update settings.py

02/04/08 14:51:33 changed by apoloval

Add a new script in packaging parent directory to generate all the packages

02/04/08 14:53:55 changed by apoloval

For SQLite3, debian-control is modified to include conflicting packages to ezweb-platform-postgres and ezweb-platform-mysql.

(in reply to: ↑ 4 ) 02/04/08 14:57:22 changed by apoloval

Replying to apoloval:

In debian-control * Package name set to ezweb-platform-common * DBMS front-end for python package dependency removed * Description modified

'

02/04/08 15:02:36 changed by apoloval

The same changes are done upon PostgreSQL files

02/04/08 15:35:57 changed by apoloval

Final changes commited in r861

02/04/08 15:36:28 changed by apoloval

  • status changed from assigned to closed.
  • resolution set to fixed.

02/05/08 07:09:52 changed by apoloval

  • status changed from closed to reopened.
  • resolution deleted.

More changes are still needed, ticket reopen.

(follow-up: ↓ 15 ) 02/05/08 07:23:39 changed by apoloval

A Debian package may replace other packages listed with the Replaces property in control file. See this man page for more details.

Specialized packages for DBMS are set to replace each them in their debian-control files.

(in reply to: ↑ 14 ) 02/05/08 07:26:26 changed by apoloval

Replying to apoloval:

A Debian package may replace other packages listed with the Replaces property in control file. See this man page for more details. Specialized packages for DBMS are set to replace each them in their debian-control files.

Commited in r863.

02/05/08 11:13:35 changed by apoloval

AS you can see in Exim4 package description it contains some or-ed dependencies. Looking at the control file, the {{Depends}} property shows as:

Depends: debconf (>= 0.5) | debconf-2.0, debconf (>= 1.4.69) | cdebconf (>= 0.39), exim4-base (>= 4.67), exim4-daemon-light | exim4-daemon-heavy | exim4-daemon-custom

By this way it's possible to create an ezweb-platform meta-package.

This changes are commited at r864.

02/05/08 11:54:34 changed by apoloval

Some missing changes in previous commit.

For package ezweb-platform, a dependency for ezweb-platform-common' is added.

For all packages which depends on ezweb-platform-common, such dependency is established with the corresponding version number.

New changes commited in r866.

02/05/08 12:59:41 changed by apoloval

  • status changed from reopened to closed.
  • resolution set to fixed.

I think no more changes are needed. Closing ticket.

09/03/08 07:31:25 changed by macvaz

  • status changed from closed to reopened.
  • resolution deleted.

09/03/08 07:32:58 changed by macvaz

  • status changed from reopened to closed.
  • resolution set to fixed.

(En [1371]) fixes #99. Error in apache vhost. /repository is used instead of /gadgets