From ea386a8a6ae3ecc1a061d9007ece955b338b2b46 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 13 2016 15:18:37 +0000 Subject: Release 2.5 We invert the order of two alembic migrations as otherwise the migration for the namespaces will fail. --- diff --git a/UPGRADING.rst b/UPGRADING.rst index cc38368..8508d70 100644 --- a/UPGRADING.rst +++ b/UPGRADING.rst @@ -1,6 +1,16 @@ Upgrading Pagure ================ +From 2.4 to 2.5 +--------------- + +2.5 brings quite a few changes and some of them impacting the database scheme. + +Therefore when upgrading from 2.4 to 2.5, you will have to: + +* Update the database schame using alembic: ``alembic upgrade head`` + + From 2.3 to 2.4 --------------- diff --git a/alembic/versions/1640c7d75e5f_add_reports_field_to_project.py b/alembic/versions/1640c7d75e5f_add_reports_field_to_project.py index 126a197..9a37a24 100644 --- a/alembic/versions/1640c7d75e5f_add_reports_field_to_project.py +++ b/alembic/versions/1640c7d75e5f_add_reports_field_to_project.py @@ -1,14 +1,14 @@ """Add reports field to project Revision ID: 1640c7d75e5f -Revises: 350efb3f6baf +Revises: 1d18843a1994 Create Date: 2016-09-09 16:11:28.099423 """ # revision identifiers, used by Alembic. revision = '1640c7d75e5f' -down_revision = '350efb3f6baf' +down_revision = '1d18843a1994' from alembic import op import sqlalchemy as sa diff --git a/alembic/versions/350efb3f6baf_add_namespace_to_project.py b/alembic/versions/350efb3f6baf_add_namespace_to_project.py index ed007b9..8c234d9 100644 --- a/alembic/versions/350efb3f6baf_add_namespace_to_project.py +++ b/alembic/versions/350efb3f6baf_add_namespace_to_project.py @@ -1,14 +1,14 @@ """Add namespace to project Revision ID: 350efb3f6baf -Revises: 1d18843a1994 +Revises: 1640c7d75e5f Create Date: 2016-08-30 22:02:07.645138 """ # revision identifiers, used by Alembic. revision = '350efb3f6baf' -down_revision = '1d18843a1994' +down_revision = '1640c7d75e5f' from alembic import op import sqlalchemy as sa diff --git a/doc/contributors.rst b/doc/contributors.rst index 8e1a974..6e87d8d 100644 --- a/doc/contributors.rst +++ b/doc/contributors.rst @@ -3,17 +3,17 @@ Contributors to pagure Pagure would be nothing without its contributors. -On Aug 31, 2016 (release 2.4), the list looks as follow: +On Sep 13, 2016 (release 2.5), the list looks as follow: ================= =========== Number of commits Contributor ================= =========== - 4249 Pierre-Yves Chibon - 182 Ryan Lerch + 4369 Pierre-Yves Chibon + 186 Ryan Lerch 89 farhaanbukhsh 59 Johan Cwiklinski - 48 Clement Verna - 47 Vivek Anand + 51 Clement Verna + 49 Vivek Anand 27 Farhaan Bukhsh 18 Sayan Chowdhury 17 Lubomír Sedlář @@ -25,17 +25,18 @@ Number of commits Contributor 8 Lei Yang 5 Mike McLean 5 Oliver Gutierrez + 5 Paul W. Frields 5 vanzhiganov 5 yangl1996 4 Eric Barbour 4 Maciej Lasyk - 4 Paul W. Frields 3 Ankush Behl 3 Anthony Lackey 3 Dhriti Shikhar 3 Jan Pokorný 3 Kushal Khandelwal 3 Pedro Lima + 3 Sergio Durigan Junior 3 skrzepto 2 Daniel Mach 2 Nuno Maltez diff --git a/files/pagure.spec b/files/pagure.spec index 77135fe..95a9877 100644 --- a/files/pagure.spec +++ b/files/pagure.spec @@ -2,7 +2,7 @@ %distutils.sysconfig import get_python_lib; print (get_python_lib())")} Name: pagure -Version: 2.4 +Version: 2.5 Release: 1%{?dist} Summary: A git-centered forge @@ -298,6 +298,37 @@ install -m 644 pagure-ci/pagure_ci.service \ %changelog +* Tue Sep 13 2016 Pierre-Yves Chibon - 2.5-1 +- Update to 2.5 +- Don't track pagure_env (venv) dir (Paul W. Frields) +- Setting Mail-Followup-To when sending message to users (Sergio Durigan Junior) + (Fixed by Ryan Lerch and I) +- Fixed the tickets hook so that we dont ignore the files committed in the first + commit (Clement Verna) +- Fix behavior of view of tree if default branch is not 'master' (Vivek Anand) +- Fix checking the release folder for forks +- Improve the Remote PR page +- Improve the fatal error page to display the error message is there is one +- Avoid issues attachment containing json to be considered as an issue to be + created/updated (Clement Verna) +- Allow the html tag (Clement Verna) +- Specify rel="noopener noreferrer" to link including target='_blank' +- Show in the overview page when a branch is already concerned by a PR +- Fix viewing a tree when the identifier provided is one of a blob (not a tree) +- Port all the plugins to `uselist=False` in their backref to make the code + cleaner +- Fix pagure_ci for all sort of small issues but also simply so that it works as + expected +- Make the private method __get_user public as get_user +- Improve the documentation (fix typos and grammar errors) (Sergio Durigan + Junior) +- Drop the `fake` namespaces in favor of real ones +- Add the possibility to view all tickets/pull-requests of a project (regardless + of their status) +- Paginate the pages listing the tickets and the pull-requests +- Add the possibility to save a certain filtering on issues as reports +- Add support to our local markdown processor for ~~striked~~ + * Wed Aug 31 2016 Pierre-Yves Chibon - 2.4-1 - Update to 2.4 - - [Security] Avoid all html related mimetypes and force the download if any diff --git a/pagure/__init__.py b/pagure/__init__.py index 8ace550..8457374 100644 --- a/pagure/__init__.py +++ b/pagure/__init__.py @@ -12,7 +12,7 @@ __requires__ = ['SQLAlchemy >= 0.8', 'jinja2 >= 2.4'] import pkg_resources -__version__ = '2.4' +__version__ = '2.5' __api_version__ = '0.7'