Difference between revisions of "Proposal to Separate Existing Single PKI Source Repository into Multiple PKI Source Repositories"

From Dogtag
Jump to: navigation, search
(Overview)
(Overview)
Line 1: Line 1:
 
= Overview =
 
= Overview =
  
Currently, the PKI repository consists of source code which is utilized to build the following four SRPMS:
+
Currently, the PKI repository (git@github.com:dogtagpki/pki.git) consists of source code which is utilized to build the following four SRPMS:
 
* '''dogtag-pki'''
 
* '''dogtag-pki'''
 
** NOTE: This 'meta' package only contains a spec file (no tarball since it does not consist of any source).
 
** NOTE: This 'meta' package only contains a spec file (no tarball since it does not consist of any source).
Line 17: Line 17:
 
* pki/scripts/compose_pki_console_packages
 
* pki/scripts/compose_pki_console_packages
 
* compose_pki_core_packages
 
* compose_pki_core_packages
 +
 +
== Proposal ==
 +
 +
This proposal is to separate this single PKI source repository into four distinct source repositories:
 +
* '''pki-meta'''
 +
** SOURCE CODE: This 'meta' directory contains local development scripts and spec file templates (pki/scripts/ and pki/specs/) and can be checked out in tandem with other PKI repos using 'git clone git@github.com:dogtagpki/pki-meta.git pki'.
 +
* '''pki-theme'''
 +
** SOURCE CODE: pki/dogtag/
 +
* '''pki-console'''
 +
** SOURCE CODE: pki/base/console/
 +
* '''pki-core'''
 +
** SOURCE CODE: pki/base/ (with the exclusion of pki/base/console/)
 +
 +
Each of these four repositories could be created to preserve existing by doing something like the following (e. g. - 'pki-meta'):
 +
* git clone git@github.com:dogtagpki/pki.git pki-meta
 +
** remove everything EXCEPT the two directories pki/scripts/ and pki/specs/
 +
* check in the new github repo as "dogtagpki/pki-meta.git"
 +
 +
== Advantages ==
 +
 +
== Disadvantages ==

Revision as of 19:17, 8 November 2017

Overview

Currently, the PKI repository (git@github.com:dogtagpki/pki.git) consists of source code which is utilized to build the following four SRPMS:

  • dogtag-pki
    • NOTE: This 'meta' package only contains a spec file (no tarball since it does not consist of any source).
  • dogtag-pki-theme
    • SOURCE CODE: pki/dogtag/
  • pki-console
    • SOURCE CODE: pki/base/console/
  • pki-core
    • SOURCE CODE: pki/base/ (with the exception of pki/base/console)

Due to this layout, we utilize the various 'compose' scripts to create local RPMS and the various 'tarballs' for use in the SRPMS (some of which become 'official' tarballs):

  • pki/scripts/compose_dogtag_pki_meta_packages
    • NOTE: RPM and SRPM only -- no tarball
  • pki/scripts/compose_dogtag_pki_theme_packages
  • pki/scripts/compose_pki_console_packages
  • compose_pki_core_packages

Proposal

This proposal is to separate this single PKI source repository into four distinct source repositories:

  • pki-meta
    • SOURCE CODE: This 'meta' directory contains local development scripts and spec file templates (pki/scripts/ and pki/specs/) and can be checked out in tandem with other PKI repos using 'git clone git@github.com:dogtagpki/pki-meta.git pki'.
  • pki-theme
    • SOURCE CODE: pki/dogtag/
  • pki-console
    • SOURCE CODE: pki/base/console/
  • pki-core
    • SOURCE CODE: pki/base/ (with the exclusion of pki/base/console/)

Each of these four repositories could be created to preserve existing by doing something like the following (e. g. - 'pki-meta'):

  • git clone git@github.com:dogtagpki/pki.git pki-meta
    • remove everything EXCEPT the two directories pki/scripts/ and pki/specs/
  • check in the new github repo as "dogtagpki/pki-meta.git"

Advantages

Disadvantages