openSUSE-release-tools/factory-package-news
Dirk Mueller 280761013e Fix factory-package-news to work with Python 3
https://github.com/openSUSE/openSUSE-release-tools/pull/1962
ported factory-package-news in a way to Python 3.x that made
it completely crash immediately with Python 2.x. So I guess
it is time to flip the switch and change the shebang. Also
fix the remaining fallout so that at least save and diff
are working again.
2019-05-22 20:25:54 +02:00
..
2014-09-03 14:44:44 +02:00
2019-04-20 21:16:50 +02:00
2015-03-13 08:57:26 +01:00

openSUSE Tumbleweed Snapshot Announcer
======================================
:author: Ludwig Nussel <ludwig.nussel@suse.de>
:toc:

This set of scripts is used to generate the tumbleweed snapshot
announcement mails.

scripts
-------

factory-package-news.py
~~~~~~~~~~~~~~~~~~~~~~~

The main tool

- extract changelog information from rpm packages contained in iso
  images (command 'save'). The information is stored as pickle file
  in the specified directory.
- create diff between previously saved pickle files (command 'diff')

factory-package-news-web.py
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Simple web service to generate diffs between specified snapshots and
to set the last announced snapshot version.

announcer.py
~~~~~~~~~~~~
sends a mail with the current changelog if the the snapshot
published on download.opensuse.org is newer than the last announced
one

current deployment on opensuse.org
----------------------------------

openqa.opensuse.org syncs factory isos in a cron job and generates
pickle files to store changelog information in
/var/lib/openqa/factory/snapshot-changes/

the obs factory publisher script fetches the diff for the to be
published snapshot from openqa.opensuse.org via http. Then sets the
current version to the snapshot number via post request.

the factory announcer script runs on the packagelists vm, polling
the changelog file that was created by the publish script.