diff --git a/UPGRADING.rst b/UPGRADING.rst index 3d294f4..71c67f0 100644 --- a/UPGRADING.rst +++ b/UPGRADING.rst @@ -2,6 +2,28 @@ Upgrading Pagure ================ +From 2.8 to 2.9 +--------------- + +The 2.9 releases brings some adjustments to the database scheme. + +* Create the new DB tables and the new status field using the ``createdb.py`` + script. + +* Update the database schame using alembic: ``alembic upgrade head`` + +If you are interested in loading your local data into the ``pagure_logs`` table +that this new release adds (data which is then displayed in the calendar heatmap +on the user's page), you can find two utility scripts in +https://pagure.io/pagure-utility that will help you to do that. They are: + +* fill_logs_from_db - Based on the data present in the database, this script + fills the ``pagure_logs`` table (this will add: new ticket, new comment, new + PR, closing a PR or a ticket and so on). +* fill_logs_from_gits - By going through all the git repo hosted in your pagure + instance, it will log who did what when. + + From 2.7 to 2.8 --------------- diff --git a/doc/contributors.rst b/doc/contributors.rst index b046da3..dfe68f6 100644 --- a/doc/contributors.rst +++ b/doc/contributors.rst @@ -3,27 +3,30 @@ Contributors to pagure Pagure would be nothing without its contributors. -On Oct 24, 2016 (release 2.8.1), the list looks as follow: +On Nov 18, 2016 (release 2.9), the list looks as follow: ================= =========== Number of commits Contributor ================= =========== - 4538 Pierre-Yves Chibon - 189 Ryan Lerch + 4692 Pierre-Yves Chibon + 190 Ryan Lerch 89 farhaanbukhsh 59 Johan Cwiklinski - 53 Vivek Anand - 51 Clement Verna - 28 Farhaan Bukhsh - 22 Patrick Uiterwijk + 56 Vivek Anand + 55 Clement Verna + 31 Farhaan Bukhsh + 26 Patrick Uiterwijk 19 Lubomír Sedlář 18 Sayan Chowdhury 15 Gaurav Kumar 15 Ralph Bean + 14 Justin W. Flory 13 Ghost-script + 13 Jeremy Cline 13 Mathieu Bridon - 12 Jeremy Cline + 10 rahul Bajaj 8 Lei Yang + 7 Adam Williamson 5 Mike McLean 5 Oliver Gutierrez 5 Paul W. Frields @@ -31,6 +34,7 @@ Number of commits Contributor 5 yangl1996 4 Eric Barbour 4 Maciej Lasyk + 4 Vibhor Verma 3 Ankush Behl 3 Anthony Lackey 3 Dhriti Shikhar @@ -43,6 +47,7 @@ Number of commits Contributor 3 skrzepto 3 tenstormavi 2 Daniel Mach + 2 Mark Reynolds 2 Nuno Maltez 2 Rahul Bajaj 2 Richard Marko @@ -67,12 +72,14 @@ Number of commits Contributor 1 Yves Martin 1 abhishek 1 abhishek goswami + 1 alunux + 1 clime 1 d3prof3t 1 jcvicelli 1 pingou - 1 rahul Bajaj 1 ryanlerch 1 skrzepto + 1 vibhcool ================= =========== This list is generated using diff --git a/files/pagure.spec b/files/pagure.spec index 7858241..5e94977 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.8.1 +Version: 2.9 Release: 1%{?dist} Summary: A git-centered forge @@ -298,6 +298,64 @@ install -m 644 pagure-ci/pagure_ci.service \ %changelog +* Fri Nov 18 2016 Pierre-Yves Chibon - 2.9-1 +- Update to 2.9 +- Fix redirecting after updating an issue on a project with namespace (Vivek + Anand) +- Remove take button from Closed Issues (Rahul Bajaj) +- Show the open date/time on issues as we do for PR (Rahul Bajaj) +- When rendering markdown file use the same code path as when rendering comments +- Add documentation for using Markdown in Pagure (Justing W. Flory) +- Fix the behavior of the Cancel button on PR page (Rahul Bajaj) +- Be tolerant to markdown processing error +- Let the notifications render correctly when added by the SSE server +- Fix the URL for pull request on the list of branches of a fork (Rahul Bajaj) +- Adjust the markdown processor to have 1 regex for all cross-project links +- Remove unsued variables (Farhaan Bukhsh) +- Hide the title of private tickets when linking to them in markdown +- Show user activity in pagure on the user's page +- Add the possibility to subscribe to issues +- Do not cache the session in pagure-ci (as we did for pagure-webhook) +- Fix rendering raw file when the sha1 provided is one of a blob +- Include project's custom fields in the JSON representation of a project +- Include the issue's custom fields values in the JSON representation of an + issue +- Include the list of close_status and the milestones in the JSON of a project +- Improve documentation related to unit-tests (Rahul Bajaj) +- Use `project.fullname` in X-Pagure-Project header (Adam Williamson) +- Figure a way to properly support WTF_CSRF_TIME_LIMIT on older version of + flask-wtf +- When updating an issue, if the form does not validate, say so to the user +- Fix the total number of pages when there are no PR/issues/repo (vibhcool) +- Fix forking a repo with a namespace +- Include the namespace in the message returned in pagure.lib.new_project +- Move the metadata-ery area in PR to under the comments tab (Ryan Lerch) +- Update setup instructions in the README.rst (alunux) +- Support namespaced projects when reading json data (clime) +- When uploading a file in a new issue, propagate the namespace info +- Ensure our avatar works with non-ascii email addresses +- Downgrade to emoji 1.3.1, we loose some of the newer emojis we get back + preview and reasonable size (Clément Verna) +- Fix sending notifications email containing non-ascii characters +- Fix using the proper URL in email notifications (Adam Williamson) +- Move the Clear and Cancel buttons to the right hand side of the comment box +- Fix spelling in the PR page (Vibhor Verma) +- Support loading custom fields from JSON when loading issues from git (Vivek + Anand) +- Fix handling namespaced project in the SSE server (Adam Williamson) +- Add a pylintrc configuration file to help with code standards (Adam + Williamson) +- Add go-import meta tag allowing go projects to be hosted on pagure (Patrick + Uiterwijk) +- Fix index overflow when opening remote pull-request (Mark Reynolds) +- Add SSE support for custom fields +- Add a git blame view +- Allow emptying a file when doing online editing +- Only let admins edit the dependency tree of issues +- Fix some spelling errors (Adam Williamson) +- Add SHA256 signature to webhooks notifications (Patrick Uiterwijk) +- Multiple fixes in the API documentation and output + * Mon Oct 24 2016 Pierre-Yves Chibon - 2.8.1-1 - Update to 2.8.1 - Handle empty files in detect_encodings (Jeremy Cline) diff --git a/pagure/__init__.py b/pagure/__init__.py index c2433a0..614c207 100644 --- a/pagure/__init__.py +++ b/pagure/__init__.py @@ -12,8 +12,8 @@ __requires__ = ['SQLAlchemy >= 0.8', 'jinja2 >= 2.4'] import pkg_resources -__version__ = '2.8.1' -__api_version__ = '0.8' +__version__ = '2.9' +__api_version__ = '0.9' import datetime