Debian Codegraph @

debian/

README.source (full)
Importing a new upstream version
--------------------------------

Here are the instructions for when you want to import a new OpenLDAP
upstream version.

1) Create the new upstream branch, if needed.

   The 'upstream' branch in the salsa repository is used to track
   versions released to Debian unstable.  If you intend to work on a
   new version that will be uploaded to Debian experimental, you need
   to create a separate 'upstream-X.Y' branch (where X.Y is the
   OpenLDAP version).

   For example, if Debian unstable is currently shipping OpenLDAP
   2.5.x, and if you are planning to import a new OpenLDAP 2.6.x
   version and upload it to the experimental distribution, you should
   create an 'upstream-2.6' branch

2) Adjust debian/gbp.conf, if needed.

   If you created a new upstream branch, you also have to make sure
   that the 'upstream-branch' option in debian/gbp.conf points to it.

3) Generate the DFSG-compliant orig tarball.

   The package still doesn't have a DEP-5-compliant debian/copyright
   file, so we rely on debian/rules' 'get-orig-source' target to
   generate the tarball.  You need to set the 'VERSION' environment
   variable to the OpenLDAP version you want to import.  For example:

     $ debian/rules VERSION=2.6.2 get-orig-source

   You can now move the tarball to the previous directory.

4) Add the OpenLDAP upstream git repository as a remote.

   This step is needed because we use gbp's '--upstream-vcs-tag'
   option.

     $ git remote add upstream https://git.openldap.org/openldap/openldap.git
     $ git fetch upstream

5) Import the new version into the repository.

   Before running the import command, you need to determine the
   upstream tag for the release you are planning to import.  Upstream
   names their tags using the following format:

     OPENLDAP_REL_ENG_X_Y_Z

   Make sure to double check if the tag version matches the orig
   tarball version.  Once everything is OK, you can run the import
   command:

     $ gbp import-orig ../openldap_X.Y.Z+dfsg.orig.tar.gz --upstream-vcs-tag=OPENLDAP_REL_ENG_X_Y_Z

 -- Sergio Durigan Junior <[email protected]>, Fri, 20 May 2022 18:44:14 -0400
dir..
dir patches/
dir po/
dir schema/
dir source/
dir tests/
dir upstream/
file NEWS
file README.source
file TODO
file USE-CASES
file changelog
file configure.options
file control
file copyright
file dh_installscripts-common
file gbp.conf
file ldap-utils.README.Debian
file ldap-utils.install
file ldap-utils.manpages
file libldap-common.install
file libldap-common.manpages
file libldap-dev.NEWS
file libldap-dev.install
file libldap-dev.links
file libldap-dev.manpages
file libldap2.install
file libldap2.symbols
file not-installed
file rules
file salsa-ci.yml
file slapd-contrib.examples
file slapd-contrib.install
file slapd-contrib.lintian-overrides
file slapd-contrib.manpages
file slapd.NEWS
file slapd.README.Debian
file slapd.backup
file slapd.conf
file slapd.config
file slapd.default
file slapd.dirs
file slapd.examples
file slapd.init
file slapd.init.ldif
file slapd.install
file slapd.lintian-overrides
file slapd.maintscript
file slapd.manpages
file slapd.postinst
file slapd.postrm
file slapd.preinst
file slapd.prerm
file slapd.scripts-common
file slapd.service
file slapd.templates
file slapi-dev.install
file watch