Selaa lähdekoodia

Release 5.2

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Pierre-Yves Chibon 5 vuotta sitten
vanhempi
commit
51afbcd756
5 muutettua tiedostoa jossa 145 lisäystä ja 18 poistoa
  1. 39 0
      UPGRADING.rst
  2. 75 0
      doc/changelog.rst
  3. 24 14
      doc/contributors.rst
  4. 5 2
      files/pagure.spec
  5. 2 2
      pagure/__init__.py

+ 39 - 0
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
 -----------------
 

+ 75 - 0
doc/changelog.rst

@@ -3,6 +3,81 @@ Changelog
 
 This document records all notable changes to `Pagure <https://pagure.io>`_.
 
+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/<username> 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)
 ------------------
 

+ 24 - 14
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 <pingou@pingoured.fr>
-   322              Ryan Lerch <rlerch@redhat.com>
+  6401              Pierre-Yves Chibon <pingou@pingoured.fr>
+   324              Ryan Lerch <rlerch@redhat.com>
    172              Vivek Anand <vivekanand1101@gmail.com>
    139              farhaanbukhsh <farhaan.bukhsh@gmail.com>
+   133              Clement Verna <cverna@tutanota.com>
    133              Patrick Uiterwijk <puiterwijk@redhat.com>
-   127              Clement Verna <cverna@tutanota.com>
     88              Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
-    76              Patrick Uiterwijk <patrick@puiterwijk.org>
+    81              Patrick Uiterwijk <patrick@puiterwijk.org>
+    60              Slavek Kabrda <bkabrda@redhat.com>
     59              Johan Cwiklinski <johan@x-tnd.be>
-    48              Slavek Kabrda <bkabrda@redhat.com>
     47              Mark Reynolds <mreynolds@redhat.com>
+    43              Karsten Hopp <karsten@redhat.com>
     32              Matt Prahl <mprahl@redhat.com>
     32              Pradeep CE (cep) <breathingcode@gmail.com>
     31              Lubomír Sedlář <lsedlar@redhat.com>
-    29              Karsten Hopp <karsten@redhat.com>
     25              Lubomír Sedlář <lubomir.sedlar@gmail.com>
     23              rahul Bajaj <you@example.com>
     20              Jeremy Cline <jeremy@jcline.org>
+    20              Neal Gompa <ngompa13@gmail.com>
     19              Aurélien Bompard <aurelien@bompard.org>
     19              Gaurav Kumar <aavrug@gmail.com>
-    19              Neal Gompa <ngompa13@gmail.com>
     18              Abhijeet Kasurde <akasurde@redhat.com>
     18              Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
     17              Adam Williamson <awilliam@redhat.com>
@@ -37,21 +37,22 @@ Number of commits  Contributor
     15              Vibhor Verma <vibhcool@gmail.com>
     14              Igor Gnatenko <ignatenkobrain@fedoraproject.org>
     14              Justin W. Flory <git@jwf.io>
+    14              Lenka Segura <lenka@sepu.cz>
     13              Ghost-script <subho.prp@gmail.com>
     13              Martin Basti <mbasti@redhat.com>
     13              Mathieu Bridon <bochecha@fedoraproject.org>
     11              Shengjing Zhu <zsj950618@gmail.com>
      9              mprahl <mprahl@redhat.com>
      8              Lei Yang <yltt1234512@gmail.com>
+     8              Michael Watters <michael.watters@dart.biz>
      8              Paul W. Frields <stickster@gmail.com>
      7              René Genz <liebundartig@freenet.de>
-     6              Lenka Segura <lenka@sepu.cz>
      6              Michael Scherer <misc@redhat.com>
-     6              Michael Watters <michael.watters@dart.biz>
      6              ymdatta <ymdatta@protonmail.com>
      5              Mike McLean <mikem@redhat.com>
      5              Oliver Gutierrez <ogutierrez@redhat.com>
      5              Shaily <shaily15297@yahoo.com>
+     5              jingjing <sanri.ok@163.com>
      5              vanzhiganov <vanzhiganov@ya.ru>
      5              yangl1996 <yltt1234512@gmail.com>
      4              Alex Gleason <alex@alexgleason.me>
@@ -59,17 +60,20 @@ Number of commits  Contributor
      4              Maciej Lasyk <maciek@lasyk.info>
      4              Till Maas <opensource@till.name>
      4              clime <clime@redhat.com>
+     3              Akanksha <akanksha_mishra01@yahoo.com>
      3              Ankush Behl <cloudbehl@gmail.com>
      3              Anthony Lackey <alackey96@gmail.com>
      3              Chenxiong Qi <cqi@redhat.com>
      3              Dhriti Shikhar <dhriti.shikhar.rokz@gmail.com>
      3              Eric Barbour <emb4gu@virginia.edu>
+     3              Fabien Boucher <fboucher@redhat.com>
      3              Jan Pokorný <jpokorny@redhat.com>
      3              Jason Tibbitts <tibbs@math.uh.edu>
      3              Kushal Khandelwal <kushal124@gmail.com>
      3              Pedro Lima <pedro.lima@gmail.com>
      3              Pierre-YvesChibon <pingou@fedoraproject.org>
      3              Ricky Elrod <ricky@elrod.me>
+     3              Ryan Lerch <rlerch@localhost.localdomain>
      3              Sergio Durigan Junior <sergiodj@sergiodj.net>
      3              Stefan Bühler <stbuehler@web.de>
      3              bill auger <mr.j.spam.me@gmail.com>
@@ -77,12 +81,12 @@ Number of commits  Contributor
      3              shivani <smshivani579@gmail.com>
      3              skrzepto <shims506@gmail.com>
      3              tenstormavi <avi.avinash3008@gmail.com>
-     2              Akanksha <akanksha_mishra01@yahoo.com>
      2              Akshay Gaikwad <akgaikwad001@gmail.com>
      2              Anatoli Babenia <anatoli@rainforce.org>
      2              Carlos Mogas da Silva <r3pek@r3pek.org>
      2              Daniel Mach <dmach@redhat.com>
      2              Kamil Páral <kparal@redhat.com>
+     2              Luis Guzman <ark@switnet.org>
      2              Neha Kandpal <iec2015048@iiita.ac.in>
      2              Nuno Maltez <nuno@cognitiva.com>
      2              Ompragash <om.apsara@gmail.com>
@@ -90,6 +94,7 @@ Number of commits  Contributor
      2              Rahul Bajaj <rahulrb0509@gmail.com>
      2              Richard Marko <rmarko@fedoraproject.org>
      2              Simo Sorce <simo@redhat.com>
+     2              Stasiek Michalski <hellcp@opensuse.org>
      2              Tim Flink <tflink@fedoraproject.org>
      2              Todd Zullinger <tmz@pobox.com>
      2              William Moreno Reyes <williamjmorenor@gmail.com>
@@ -98,7 +103,9 @@ Number of commits  Contributor
      2              hellcp <hellcp@opensuse.org>
      2              yadneshk <yadnesh45@gmail.com>
      2              “AnjaliPardeshi” <“anjalipardeshi92@gmail.com”>
+     1              Akanksha Mishra <akanksha_mishra01@yahoo.com>
      1              Aleksandra Fedorova (bookwar) <afedorova@mirantis.com>
+     1              Alexander Scheel <ascheel@redhat.com>
      1              Alois Mahdal <amahdal@redhat.com>
      1              Amol Kahat <akahat@redhat.com>
      1              Anthony Lackey <alackey@localhost.localdomain>
@@ -110,7 +117,6 @@ Number of commits  Contributor
      1              David Caro <dcaroest@redhat.com>
      1              Eashan <eashankadam@gmail.com>
      1              Fabian Arrotin <fabian.arrotin@arrfab.net>
-     1              Fabien Boucher <fboucher@redhat.com>
      1              Felix Yan <felixonmars@users.sf.net>
      1              Filip Valder <fvalder@redhat.com>
      1              Haikel Guemar <hguemar@fedoraproject.org>
@@ -118,18 +124,21 @@ Number of commits  Contributor
      1              Jeremy Cline <jcline@redhat.com>
      1              Jingjing Shao <sanri.ok@163.com>
      1              John Florian <jflorian@doubledog.org>
+     1              Jun Aruga <jaruga@redhat.com>
      1              Kunaal Jain <kunaalus@gmail.com>
+     1              Mary Kate Fain <mk@marykatefain.com>
      1              Mathew Robinson <mathew.robinson3114@gmail.com>
      1              Miro Hrončok <miro@hroncok.cz>
      1              Mohan Boddu <mboddu@redhat.com>
      1              Peter Kolínek <fedora@pessoft.com>
+     1              Petr Šplíchal <psplicha@redhat.com>
      1              Robert Bost <rbost@redhat.com>
+     1              Romain DEP. <rom1dep@gmail.com>
      1              Ryan Lerch <ryanlerch@gmail.com>
      1              Sachin Kamath <sskamath96@gmail.com>
      1              Snehal Karale <skarale@redhat.com>
      1              Stanislav Laznicka <slaznick@redhat.com>
      1              Stanislav Ochotnicky <sochotnicky@redhat.com>
-     1              Stasiek Michalski <hellcp@opensuse.org>
      1              Stephen Gallagher <sgallagh@redhat.com>
      1              Tiago M. Vieira <tiago@tvieira.com>
      1              Till Hofmann <hofmann@kbsg.rwth-aachen.de>
@@ -140,11 +149,12 @@ Number of commits  Contributor
      1              abhishek goswami <abhishekg785@gmail.com>
      1              alunux <fadlun.net@gmail.com>
      1              anar <anaradilovab@gmail.com>
+     1              anatoly techtonik <techtonik@gmail.com>
+     1              anshukira <aks.anshu03@gmail.com>
      1              chocos10 <iec2015048@iiita.ac.in>
      1              d3prof3t <saurabhpysharma@gmail.com>
      1              ishcherb <ishcherb@redhat.com>
      1              jcvicelli <jcvicelli@gmail.com>
-     1              jingjing <sanri.ok@163.com>
      1              josef radinger <cheese@nosuchhost.net>
      1              pingou <pingou@fedoraproject.org>
      1              prasad0896 <shendep@yahoo.co.in>

+ 5 - 2
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 <pingou@pingoured.fr> - 5.2-1
+- Update to pagure 5.2
+
 * Thu Oct 11 2018 Pierre-Yves Chibon <pingou@pingoured.fr> - 5.1.3-1
 - Update to pagure 5.1.3
 

+ 2 - 2
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"