From 51afbcd756bf5fe84011be23bed7c31a71593a1d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 07 2019 09:23:41 +0000 Subject: Release 5.2 Signed-off-by: Pierre-Yves Chibon --- diff --git a/UPGRADING.rst b/UPGRADING.rst index 5e76241..1e0bf74 100644 --- a/UPGRADING.rst +++ b/UPGRADING.rst @@ -1,6 +1,45 @@ Upgrading Pagure ================ +From 5.2 to 5.1.x +----------------- + +The 5.2 release contains a database schema updates, so: + +* Update the data schema using alembic: ``alembic upgrade head`` + +(As usual, do your backups before). + +If you run into issues with the ``hook_mirror``, see the upgrade notes for +the release 5.1.4 below. + +Note that the minimal version of pygit2 has been bumped to: 0.26.0 + +New configuration keys have been added: + +* MQTT_NOTIFICATIONS +* MQTT_HOST +* MQTT_PORT +* MQTT_USERNAME +* MQTT_PASSWORD +* MQTT_CA_CERTS +* MQTT_CERTFILE +* MQTT_KEYFILE +* MQTT_CERT_REQS +* MQTT_TLS_VERSION +* MQTT_CIPHERS +* DISABLE_MIRROR_IN +* SSH_ADMIN_TOKEN +* GIT_GARBAGE_COLLECT +* DISABLE_REMOTE_PR +* ADMIN_EMAIL +* LOG_ALL_COMMITS +* ARCHIVE_FOLDER + +One configuration key changes its default structure: +* TRIGGER_CI + + From 5.1 to 5.1.4 ----------------- diff --git a/doc/changelog.rst b/doc/changelog.rst index b0a846d..ada46dd 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -3,6 +3,81 @@ Changelog This document records all notable changes to `Pagure `_. +5.2 (2019-01-07) +---------------- +- Add support for the MQTT protocol (jingjing) +- Add support for mirroring in git repositories from outside sources +- Add the possibility to give a group away +- Port pagure to markdown 3.0+ while remaining backward compatible +- Add support to merge a PR when the fork was deleted +- Indicate that the file can be either empty or a binary file in diffs +- Add the API endpoint to create new PR in the API doc +- Add the ability to generate archive from a commit or tag +- Allow searching the content of the comments on an issue tracker +- Allow filtering the issue list by the close status +- Update the version of highlightjs-line-numbers. (Clement Verna) +- Store the user who closed a ticket in the database. (Clement Verna) +- Show related PRs on the issue list if there are any +- Bypass old hooks rather than using non-existing symlinks +- Undo submitting comment via JS if the SSE is down +- Make links act like links in the commit message (Ryan Lerch) +- Add build status to pull requests page (Michael Watters) +- Bump the minimal pygit2 version to 0.26.0 (Pierre-Yves Chibon) +- Make update_pull_ref more robust by making sure fork ref is deleted + (Slavek Kabrda) +- Provide feedback to the user if PRs are disabled in the default target + projects +- Add a new API endpoint to update the options set for a project +- Add a new API endpoint to retrieve the options of a project +- Update the quick replies button when going into edit mode +- Hide extra GIT URLs behind a collapseable element (Ryan Lerch) +- Save metadata changes when changing status with dropdown (Ryan Lerch) +- Align markdown block of code and citation with GitHub CSS. (Jun Aruga) +- Change formatting of the issue list to make more readable (Ryan Lerch) +- Rename the fedmsg.py hook into fedmsg_hook.py as otherwise it conflicts +- Allow commenting on a PR when clicking on the merge button +- Include whether the PR passed the threshold or not in the API data +- Change the way votes are recorded on PRs +- Add support for third-party extensions to pagure (this is very much + work in progress and might/will fluctuate as it is polished - Do Not + Consider This Stable) +- Enable token authentication on internal endpoints (Slavek Kabrda) +- Fix notifications and refreshing the cached merge status upon updates +- Allow specifying a branch when adding content to git +- Add support for rebasing pull-requests +- Fix viewing patch attached to ticket +- Add link to starred projects in the user menu (Michael Watters) +- Prevent double click from showing two input form +- Fix linking to specific lines in a pull-request +- Do not assume master if the default branch +- Send dedicated notifications when a PR is updated or rebased +- Show the update date/time rather than the creation one on flags +- Allow running 'git gc' explicitly after every object-adding git operation + (Slavek Kabrda) +- Let any contributor to a project update the PR meta-data +- Rename "Cancel a PR" into "Close a PR" +- Add a Date type to the custom fields (Karsten Hopp) +- Add a new API endpoint to retrieve the flags of a pull-request +- Fix rendering comment added via JS +- Fix API task status endpoint (Slavek Kabrda) +- Make it possible to create hooks that don't have DB entries (Slavek Kabrda) +- Render status of dependent tickets differently on open/close (Akanksha) +- Implement a button to rerun CI tests on a pull request (Slavek Kabrda) +- Support disallowing remote pull requests (Karsten Hopp) +- Change button name to Save instead of Edit while editing pull request + (anshukira) +- Make sure to also log exceptions in non-debug mode (Patrick Uiterwijk) +- Allow filtering from the milestones page (Akanksha Mishra) +- Fix multimail config with empty auth or disabled tls (Patrick Uiterwijk) +- Add an about page in the themes (Mary Kate Fain) +- Remove "Activate" from project options (jingjing) +- Add avatar_url to output of user/ api (Ryan Lerch) +- Fix showing a regular comment on a PR when there are none before +- Fix the UI on the release page when showing the tag message +- Update the chameleon theme (Stasiek Michalski) +- Fix filtering by status PRs retrieved by the API (Lenka Segura) + + 5.1.4 (2018-10-15) ------------------ diff --git a/doc/contributors.rst b/doc/contributors.rst index 77cc12f..a49cfb7 100644 --- a/doc/contributors.rst +++ b/doc/contributors.rst @@ -3,32 +3,32 @@ Contributors to pagure Pagure would be nothing without its contributors. -On October 11, 2018 (release 5.1.3) the list looks as follow: +On January 7, 2019 (release 5.2) the list looks as follow: ================= =========== Number of commits Contributor ================= =========== - 6254 Pierre-Yves Chibon - 322 Ryan Lerch + 6401 Pierre-Yves Chibon + 324 Ryan Lerch 172 Vivek Anand 139 farhaanbukhsh + 133 Clement Verna 133 Patrick Uiterwijk - 127 Clement Verna 88 Farhaan Bukhsh - 76 Patrick Uiterwijk + 81 Patrick Uiterwijk + 60 Slavek Kabrda 59 Johan Cwiklinski - 48 Slavek Kabrda 47 Mark Reynolds + 43 Karsten Hopp 32 Matt Prahl 32 Pradeep CE (cep) 31 Lubomír Sedlář - 29 Karsten Hopp 25 Lubomír Sedlář 23 rahul Bajaj 20 Jeremy Cline + 20 Neal Gompa 19 Aurélien Bompard 19 Gaurav Kumar - 19 Neal Gompa 18 Abhijeet Kasurde 18 Sayan Chowdhury 17 Adam Williamson @@ -37,21 +37,22 @@ Number of commits Contributor 15 Vibhor Verma 14 Igor Gnatenko 14 Justin W. Flory + 14 Lenka Segura 13 Ghost-script 13 Martin Basti 13 Mathieu Bridon 11 Shengjing Zhu 9 mprahl 8 Lei Yang + 8 Michael Watters 8 Paul W. Frields 7 René Genz - 6 Lenka Segura 6 Michael Scherer - 6 Michael Watters 6 ymdatta 5 Mike McLean 5 Oliver Gutierrez 5 Shaily + 5 jingjing 5 vanzhiganov 5 yangl1996 4 Alex Gleason @@ -59,17 +60,20 @@ Number of commits Contributor 4 Maciej Lasyk 4 Till Maas 4 clime + 3 Akanksha 3 Ankush Behl 3 Anthony Lackey 3 Chenxiong Qi 3 Dhriti Shikhar 3 Eric Barbour + 3 Fabien Boucher 3 Jan Pokorný 3 Jason Tibbitts 3 Kushal Khandelwal 3 Pedro Lima 3 Pierre-YvesChibon 3 Ricky Elrod + 3 Ryan Lerch 3 Sergio Durigan Junior 3 Stefan Bühler 3 bill auger @@ -77,12 +81,12 @@ Number of commits Contributor 3 shivani 3 skrzepto 3 tenstormavi - 2 Akanksha 2 Akshay Gaikwad 2 Anatoli Babenia 2 Carlos Mogas da Silva 2 Daniel Mach 2 Kamil Páral + 2 Luis Guzman 2 Neha Kandpal 2 Nuno Maltez 2 Ompragash @@ -90,6 +94,7 @@ Number of commits Contributor 2 Rahul Bajaj 2 Richard Marko 2 Simo Sorce + 2 Stasiek Michalski 2 Tim Flink 2 Todd Zullinger 2 William Moreno Reyes @@ -98,7 +103,9 @@ Number of commits Contributor 2 hellcp 2 yadneshk 2 “AnjaliPardeshi” <“anjalipardeshi92@gmail.com”> + 1 Akanksha Mishra 1 Aleksandra Fedorova (bookwar) + 1 Alexander Scheel 1 Alois Mahdal 1 Amol Kahat 1 Anthony Lackey @@ -110,7 +117,6 @@ Number of commits Contributor 1 David Caro 1 Eashan 1 Fabian Arrotin - 1 Fabien Boucher 1 Felix Yan 1 Filip Valder 1 Haikel Guemar @@ -118,18 +124,21 @@ Number of commits Contributor 1 Jeremy Cline 1 Jingjing Shao 1 John Florian + 1 Jun Aruga 1 Kunaal Jain + 1 Mary Kate Fain 1 Mathew Robinson 1 Miro Hrončok 1 Mohan Boddu 1 Peter Kolínek + 1 Petr Šplíchal 1 Robert Bost + 1 Romain DEP. 1 Ryan Lerch 1 Sachin Kamath 1 Snehal Karale 1 Stanislav Laznicka 1 Stanislav Ochotnicky - 1 Stasiek Michalski 1 Stephen Gallagher 1 Tiago M. Vieira 1 Till Hofmann @@ -140,11 +149,12 @@ Number of commits Contributor 1 abhishek goswami 1 alunux 1 anar + 1 anatoly techtonik + 1 anshukira 1 chocos10 1 d3prof3t 1 ishcherb 1 jcvicelli - 1 jingjing 1 josef radinger 1 pingou 1 prasad0896 diff --git a/files/pagure.spec b/files/pagure.spec index d1f308c..83093af 100644 --- a/files/pagure.spec +++ b/files/pagure.spec @@ -16,7 +16,7 @@ Name: pagure -Version: 5.1.3 +Version: 5.2 Release: 1%{?dist} Summary: A git-centered forge @@ -290,7 +290,7 @@ install -p -m 644 files/pagure_api_key_expire_mail.timer \ $RPM_BUILD_ROOT/%{_unitdir}/pagure_api_key_expire_mail.timer # Install the systemd file for the script updating mirrored project -install -p -m 644 files/files/pagure_mirror_project_in.service \ +install -p -m 644 files/pagure_mirror_project_in.service \ $RPM_BUILD_ROOT/%{_unitdir}/pagure_mirror_project_in.service install -p -m 644 files/pagure_mirror_project_in.timer \ $RPM_BUILD_ROOT/%{_unitdir}/pagure_mirror_project_in.timer @@ -491,6 +491,9 @@ done %changelog +* Mon Jan 07 2019 Pierre-Yves Chibon - 5.2-1 +- Update to pagure 5.2 + * Thu Oct 11 2018 Pierre-Yves Chibon - 5.1.3-1 - Update to pagure 5.1.3 diff --git a/pagure/__init__.py b/pagure/__init__.py index e8169f8..62fc7b2 100644 --- a/pagure/__init__.py +++ b/pagure/__init__.py @@ -11,5 +11,5 @@ from __future__ import unicode_literals, absolute_import -__version__ = "5.1.3" -__api_version__ = "0.24" +__version__ = "5.2" +__api_version__ = "0.25"