Skip to content

Commit

Permalink
Prepare 5.5.26 (#23)
Browse files Browse the repository at this point in the history
* Prepare release 5.5.26
* README: Document release process
* Update AUTHORS
* travis: get GITHUB_TOKEN from environment
  • Loading branch information
gwarf authored Sep 23, 2020
1 parent 77429a2 commit 27ed4d0
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ script:
- docker exec -i -w /src/build/RPMS/noarch install_container sh -c "yum localinstall -y bdii*.el${OS_MAJOR_VERSION}.noarch.rpm"
deploy:
provider: releases
api_key:
secure: tw560GrnanaDUSQ27wmyn+tryv7NYwvKjafc23VWpJRw78BYrIZopAL3r/YN9k7iQmk0WyJ7pjV3ayL/XSW0vYhCme1hpKaKTrRl8r+C4pJcmz9q50bVE1G2invgiqiw2Tpne7BG/LS7aERQxPs2tgmzvoy0XLFgoWOec+cBts5D+KtAnOZ5jxob6V9K1na79pK9OK4mVt/rYeuqEb8O44tjHywa7PWzg9mHAtzAGLtrgki3ICEosFkqRyBaQmwbLc/fUhA1De9TtGtbxaQ3GYRCIgnQTJ5DNOcuj3X21WlXGhQXEovR1oC3lBwMPxx2Ap1Ke3JNIU9y8YiW7CGqQm8XV9wm5PFN6O2ZccjPRVp+xkGkl0w1+RL/Ms2zfevFaxztqzKCt+AVXDw4aQrxyawuNCRLku3uzzQa0cQPfJscWHAqLCTXSP13hbKyyu+nvVFBpMjY6xO8TICHeb5dXVOU1JIw6Qu+AqfEIYZQsNuJI6SUwkkonHrRZ0iEfLi+0JQ8adelGqCfDiK7bDSFQ4prjLECjjp3HHSrvvcRNl8gEc+0P/qdWsIdC8j1a332f3VsO3JF/8+NWjU2Uy8fs04DyzWM4l3Ccg+7DEfx/zdPWCwlzNq6giByMiDm0RvPgrNVigdN8o6QnVOxkpeL4lNnOVfIb/RtJq4ND3zKvOE=
# Set in the settings page of the repository, as an environment variable
api_key: $GITHUB_TOKEN
file_glob: true
file:
- build/RPMS/noarch/bdii*.el${OS_MAJOR_VERSION}.noarch.rpm
Expand Down
6 changes: 5 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Maintainers
-----------
Paolo Andreetto <paolo.andreetto@pd.infn.it>
Baptiste Grenier <baptiste.grenier@egi.eu>

Original Authors
Expand All @@ -15,3 +14,8 @@ Maarten Litmaath <Maarten.Litmaath@cern.ch>
Felix Ehm <Felix.Ehm@cern.ch>
Andrew Elwell <Andrew.Elwell@cern.ch>
Daniel Johansson <daniel@ndgf.org>
Paolo Andreetto <paolo.andreetto@pd.infn.it>
Petr Vokac https://github.com/vokac
Andrea Manzi <andrea.manzi@egi.eu>
Mattias Ellert <mattias.ellert@physics.uu.se>
Enol Fernández <enol.fernandez@egi.eu>
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Whenever a remote server is contacted and the ldapsearch command times out
the update process tries to find an (old) cached entry in the `/var/cache/`
directory. If no entry is found a message is printed to the logfile.

*Attention!*
_Attention!_
If the remote host cannot be contacted due to a connection problem
no cached entry is taken. No message is printed to the logfile.

Expand Down Expand Up @@ -58,18 +58,18 @@ The description of thoese metrics can be found in the etc/BDII.schema file.
make install
```

* Build dependencies: None
* Runtime dependencies: openldap
- Build dependencies: None
- Runtime dependencies: openldap

## Building packages

### Building a RPM

The required build dependencies are:

* rpm-build
* make
* rsync
- rpm-build
- make
- rsync

```sh
# Checkout tag to be packaged
Expand Down Expand Up @@ -100,6 +100,17 @@ cd /source && make deb

The DEB will be available into the `build/` directory.

## Preparing a release

- Prepare a changelog from the last version, including contributors' names
- Prepare a PR with
- Updating version and changelog in `bdii.spec`
- Updating version and changelog in `debian/changelog`
- Updating authors in `AUTHORS`
- Updating `codemeta.json` if needed
- Once the PR has been merged tag and release a new version in GitHub
- Packages will be built using Travis and attached to the release page

## History

This work started under the EGEE project, and was hosted and maintained for a
Expand Down
7 changes: 6 additions & 1 deletion bdii.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: bdii
Version: 5.2.25
Version: 5.2.26
Release: 1%{?dist}
Summary: The Berkeley Database Information Index (BDII)

Expand Down Expand Up @@ -122,6 +122,11 @@ fi

%changelog

* Wed Sep 23 2020 Baptiste Grenier <baptiste.grenier@egi.eu> - 5.2.26-1
- Truncate LDIF password file before updating (Petr Vokac)
- Preserve base64 entries (Enol Fernández, Andrea Manzi)
- Allow BDII_HOSTNAME configuration and default to localhost (Andrea Manzi)

* Tue Oct 2 2018 Baptiste Grenier <baptiste.grenier@egi.eu> - 5.2.25-1
- Import product card JSON in codemeta.json format (Bruce Becker)
- Lint, build, test install and attach packages to GitHub tags using Travis. (Baptiste Grenier)
Expand Down
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
bdii (5.2.26-1) UNRELEASED; urgency=low

* Truncate LDIF password file before updating (Petr Vokac)
* Preserve base64 entries (Enol Fernández, Andrea Manzi)
* Allow BDII_HOSTNAME configuration and default to localhost (Andrea Manzi)

-- Baptiste Grenier <baptiste.grenier@egi.eu> Wed, 23 Sep 2020 11:02:00 +0100

bdii (5.2.24-1) UNRELEASED; urgency=low

* Fix #3: init script failing on stale PID (Paolo Andreetto)
Expand Down

0 comments on commit 27ed4d0

Please sign in to comment.