From eaa3a31947e358def5a6ffdfcb3a1a61aca955e6 Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 24 Sep 2019 16:23:35 +0200 Subject: [PATCH 1/2] Fix debian package build process: Version number and changelog --- .gitlab-ci.yml | 19 ++++++++++++++++++- .../DEBIAN/control | 14 -------------- 2 files changed, 18 insertions(+), 15 deletions(-) delete mode 100644 package/debian/icalendar-timeseries-server/DEBIAN/control diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1904415..88c7228 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,7 +50,24 @@ build_debian: - sed -re 's/file-magic/python-magic/' -i setup.py - echo -n > package/debian/icalendar-timeseries-server/usr/share/doc/icalendar-timeseries-server/changelog - | - for version in "$(cat CHANGELOG.md | grep '" | grep -B 1000 "<"'!'"-- END CHANGES ${version} -->" | tail -n +2 | head -n -1 | sed -re 's/^-/ */g' >> package/debian/icalendar-timeseries-server/usr/share/doc/icalendar-timeseries-server/changelog echo "\n -- ${PACKAGE_AUTHOR} $(date -R)\n" >> package/debian/icalendar-timeseries-server/usr/share/doc/icalendar-timeseries-server/changelog diff --git a/package/debian/icalendar-timeseries-server/DEBIAN/control b/package/debian/icalendar-timeseries-server/DEBIAN/control deleted file mode 100644 index 799d2f7..0000000 --- a/package/debian/icalendar-timeseries-server/DEBIAN/control +++ /dev/null @@ -1,14 +0,0 @@ -Package: icalendar-timeseries-server -Version: 0.1 -Maintainer: s3lph -Section: web -Priority: optional -Architecture: all -Depends: python3 (>= 3.7), python3-jinja2, python3-bottle, python3-dateutil, python3-icalendar, python3-isodate, python3-tz -Description: Scrape iCalendar endpoints and present their data in a - timeseries format. A small service that scrapes iCalendar files - served over HTTP, parses their contents and returns a timeseries - format compatible to the /api/v1/query API endpoint of a Prometheus - server. This allows e.g. a Grafana administrator to add a Prometheus - data source pointing at this server, returning the events in the - calendars in the event metric. From 293b30ba59cf759240e0e0e8c1f9487c0aa990cf Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 24 Sep 2019 16:25:18 +0200 Subject: [PATCH 2/2] Bump version number to 0.3.2 --- CHANGELOG.md | 12 ++++++++++++ icalendar_timeseries_server/__init__.py | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b29a78e..689f8c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ # iCalendar Timeseries Server Changelog + +## Version 0.3.2 + +### Changes + + +- Fix Debian package build process + + + + + ## Version 0.3.1 diff --git a/icalendar_timeseries_server/__init__.py b/icalendar_timeseries_server/__init__.py index 81cfc8c..8299a60 100644 --- a/icalendar_timeseries_server/__init__.py +++ b/icalendar_timeseries_server/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.3.1' +__version__ = '0.3.2'