[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: orthanc-postgresql



Hi again,

> I would provide the following packages:
> 
> 	orthanc
> 		main binary and general infrastructure
> 		all the non-backend stuff
> 	orthanc-sqlite
> 		nearly empty package (?)
> 		only providing orthanc.init without postgresql
> 		perhaps providing backup/restore scripts for sqlite DB ?
> 		Conflicts: orthanc-postgresql
> 	orthanc-postgresql
> 		providing orthanc.init with postgresql
> 		providing PG backend plugin
> 		Conflicts: orthanc-sqlite
> 
> Package orthanc could either Depends: on "orthanc-sqlite |
> orthanc-postgresql" in which case either of which would
> satisfy the dependency. If either is pre-installed or
> co-installed in this invocation of apt-get the other wouldn't
> get installed. Both cannot be co-installed at the same time
> due to the conflict. One _must_ be installed due to the
> Depends.

Thanks! I will use this approach, as I think it is important to enforce a preference in favor of the default SQLite back-end.

Sébastien-


Reply to: