Skip to content

Commit 80def53

Browse files
committed
merge heads
2 parents c4bb816 + c27ef4e commit 80def53

38 files changed

+270
-178
lines changed

.hgtags

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,8 @@ ff92cc5d9359ee6c83e1a8338b363a9aa421d64c 2.0.0beta0
136136
013a2e3da452a5dcc05e15f4a03667a8d4bc0870 2.1.0b1
137137
cbc18a8bc61f120fc27df2a90d7c922b12bf9014 2.1.0
138138
b3ba03d2b214ce598d3a181f3b43b46c3406713f 2.2.0b1
139+
c90104abe508e3886917243e4acd069c8ef7a1a4 2.2.0
140+
c90104abe508e3886917243e4acd069c8ef7a1a4 2.2.0
141+
0000000000000000000000000000000000000000 2.2.0
142+
0000000000000000000000000000000000000000 2.2.0
143+
239d9542b02062c56f88fd1de8b87c4d88d700ad 2.2.0

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ v2.7.2 or later are required to run newer releases of Roundup.
1212
Roundup 2.0 supports Python 3.4 and later. Roundup 2.1.0 supports
1313
python 3.6 or newer (3.4/3.5 might work, but they are not tested).
1414

15-
2022-yy-zz 2.2.0
15+
2022-07-13 2.2.0
1616

1717
Fixed:
1818

RELEASE.txt

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Roundup release checklist:
2626
python2 -m pytest test/
2727

2828
3. Update version in:
29-
CHANGES.txt
29+
CHANGES.txt (set date for version as well)
3030
roundup/__init__.py
3131
website/www/index.txt
3232
website/www/conf.py (also update copyright)
@@ -84,7 +84,7 @@ Roundup release checklist:
8484
(if you find sdist a little verbose, add "--quiet" to the end of the
8585
command)
8686
9a. 2021/04/17 skip this for now. Need to make sure that whl installs
87-
exectuable scripts properly and update these directions to test.
87+
executable scripts properly and update these directions to test.
8888

8989
python2 setup.py bdist_wheel; python3 setup.py bdist_wheel
9090

@@ -123,11 +123,12 @@ Roundup release checklist:
123123
with all available Python versions.
124124
11a. (TBD how to test wheel binary distribution before uploading.)
125125

126-
12. Assuming all is well tag the release in the version-control
126+
12. Assuming all is well commit and tag the release in the version-control
127127
system.
128-
a) hg tag 1.6.0 # use right version. Should create/commit a changeset
129-
b) hg push # update main repo
130-
c) hg sum # verify that the tag shows up
128+
a) hg commit ... # commit any edits from steps 1-5
129+
b) hg tag 2.1.0 # use right version. Should create/commit a changeset
130+
c) hg push # update main repo
131+
d) hg sum # verify that the tag shows up
131132

132133
13. Upload source distribution to PyPI - requires you sign up for a
133134
pypi account and be added as a maintainer to roundup. Ask existing
@@ -168,23 +169,26 @@ Roundup release checklist:
168169
distributions (if created). Follow the directions for generating
169170
the gpg asc files and upload the .whl distribution and .whl.asc
170171
signature files together.
172+
171173
14. Refresh website.
172174
website/README.txt
173175
https://www.roundup-tracker.org/ should state that the stable
174176
version is the one that you released.
175177
https://www.roundup-tracker.org/docs.html should also match the
176178
released version (or at least the major non pre-release
177179
1.x/2.x version).
178-
16. Send doc/announcement.txt to [email protected],
180+
181+
15. Send doc/announcement.txt to [email protected],
179182
180183
181-
16b. Update entry on https://freshcode.club/projects/roundup-tracker
182-
16c. Update entries for fossies by emailing announcement to
184+
15b. Update entry on https://freshcode.club/projects/roundup-tracker
185+
15c. Update entries for fossies by emailing announcement to
183186
184-
16d. Update entry on https://directory.fsf.org/wiki/Roundup.
185-
17. Change the release version on the GitHub section at
187+
15d. Update entry on https://directory.fsf.org/wiki/Roundup.
188+
189+
16. Change the release version on the GitHub section at
186190
https://wiki.roundup-tracker.org/CiTestingEnvironment
187-
17b. Update release info on wikipedia:
191+
16b. Update release info on wikipedia:
188192
https://en.wikipedia.org/wiki/Roundup_(issue_tracker)
189193

190194
https://en.wikipedia.org/wiki/Comparison_of_issue-tracking_systems

doc/acknowledgements.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,28 @@ ideas and everything else that helped!
1313
2.2
1414
---
1515

16-
2.2.0b1
17-
~~~~~~~
16+
2.2.0
17+
~~~~~
1818

1919
Maintainer: John Rouillard, Ralf Schlatterbeck
2020

2121
Release Manager: John Rouillard
2222

2323
Developer activity by changesets::
2424

25-
[email protected] 224 ************************************************
25+
[email protected] 291 ************************************************
2626
2727
aburke 1
2828
2929
3030

3131
Other contributers
3232

33-
Marcus Priesch
34-
John Kristensen (jerrykan)
35-
Ashely Burke
36-
Nagy Gabor
37-
Norbert Schlemmer
33+
Marcus Priesch,
34+
John Kristensen (jerrykan),
35+
Ashely Burke,
36+
Nagy Gabor,
37+
Norbert Schlemmer,
3838
Thomas Arendsen Hein
3939

4040
2.1
@@ -113,7 +113,7 @@ Other contributers
113113

114114
Chau Nguyen,
115115
Andreas (anrounham14),
116-
Robert Klonner
116+
Robert Klonner,
117117
Garth Jensen
118118

119119
1.6

doc/admin_guide.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. meta::
2-
:description language=en:
2+
:description:
33
How to administer, backup, upgrade a Roundup installation.
44
System and user security, configuring web compression,
55
documentation on using roundup-server and running
@@ -556,8 +556,10 @@ it to be elsewhere) will then complete the backup.
556556
Software Upgrade
557557
----------------
558558

559-
Always make a backup of your tracker before upgrading software. Steps you may
560-
take:
559+
.. _make a backup: #tracker-backup
560+
561+
Always `make a backup`_ of your tracker before upgrading software.
562+
Steps you may take:
561563

562564
1. Install pytest and ensure that the unit tests run on your system
563565
(using your preferred python version)::
@@ -576,11 +578,11 @@ take:
576578

577579
python setup.py install
578580

579-
6. Follow the steps in the `upgrading documentation`_ for the new version of
580-
the software in the copied.
581+
6. Follow the steps in the `upgrading documentation`_ for all the
582+
version between your original version and th new version.
581583

582-
Usually you will be asked to run `roundup_admin migrate` on your tracker
583-
before you allow users to start accessing the tracker.
584+
Usually you should run `roundup_admin -i <tracker_home> migrate`
585+
on your tracker(s) before you allow users to start accessing the tracker.
584586

585587
It's safe to run this even if it's not required, so just get into the
586588
habit.
@@ -591,7 +593,6 @@ reinstall the older version of the sofware using the same install command::
591593

592594
python setup.py install
593595

594-
595596
.. index:: database; convert from one database backend to another
596597
single: roundup-admin; import and export
597598

doc/announcement.txt

Lines changed: 62 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,68 @@
1-
I'm proud to release version 2.2.0b1 of the Roundup issue tracker.
2-
This release is a bugfix and minor feature
1+
I'm proud to release version 2.2.0 of the Roundup issue
2+
tracker. This release is a bugfix and minor feature
33
release, so make sure to read `docs/upgrading.txt
4-
<https://www.roundup-tracker.org/docs/upgrading.html>`_ to bring your
5-
tracker up to date.
4+
<https://www.roundup-tracker.org/docs/upgrading.html>`_ to
5+
bring your tracker up to date.
66

7-
The changes, as usual, include some new features and many bug fixes.
7+
The changes, as usual, include some new features and many
8+
bug fixes.
89

9-
Note that you should run ``roundup-admin ... migrate`` to update the
10-
database schema version. Do this before you use the web, command-line
11-
or mail interface and before any users access the tracker.
10+
Note that you should run ``roundup-admin ... migrate`` to
11+
update the database schema version. Do this before you use
12+
the web, command-line or mail interface and before any users
13+
access the tracker.
1214

13-
You can download it with:
15+
You can download it with::
1416

1517
pip download roundup
1618

17-
then unpack and test/install the tarball.
19+
then unpack and test/install the tarball. Also::
20+
21+
pip install roundup
22+
23+
(preferably in a virtual environment) can be used.
1824

1925
Among the notable improvements from the 2.1.0 release are:
2026

21-
- Roundup supports dynamic and static compression of http
22-
responses.
27+
- Dynamic and static compression of http responses. This
28+
improves performance when a front end web server isn't
29+
serving compressed assets.
30+
31+
- REST interface supports CORS allowing Roundup to be used
32+
by third party web sites. Can specify origins allowed to
33+
use the REST interface. OpenAPI (SWagger) docs can be
34+
added. Error handling/reporting improved.
2335

24-
- Better support for range headers and HTTP 1.1 in
25-
roundup-server.
36+
- Dockerfile to build a containerized Roundup instance. A
37+
docker-compose configuration to deploy a a mysql based
38+
tracker is also supplied.
2639

2740
- New full text search methods. SQLite FTS and PostgreSQL
2841
full text search are supported. These allow search
29-
expressions in addition to simple word based
30-
searches.
31-
32-
- Word size for Roundup's full text search increased to 50.
33-
34-
- CORS support for the REST interface allowing Roundup to
35-
be used by third party services. Includes ability to
36-
list valid Origins in CSRF checks.
37-
38-
- Dockerfile support. Docker-compose for a mysql based
39-
tracker.
42+
expressions in addition to simple word based searches.
4043

4144
- Secret values in config.ini can be stored in external
4245
files. This allows config.ini to be stored in a VCS
4346
without exposing secrets.
4447

45-
- Improvements to REST: fix crashes, support JWT in url,
46-
dynamic endpoint list, OpenAPI (Swagger) doc can be specified,
47-
allowed methods reported on error.
48-
49-
- Define default cache times for js and css assets.
48+
- Translation object added to internal database handle. This
49+
allows auditors and extensions to provide efficient
50+
translations.
5051

51-
- Login with empty passwords is disabled by default.
52+
- MySQL database creation uses COLLATE utf8_general_ci
5253

53-
- ETag value changes depending on content-encoding.
54+
- Wsgi startup improvements (must be enabled by setting
55+
feature flag).
5456

5557
- Fix crash when importing legacy Roundup tracker with long
5658
integers.
5759

58-
- Workaround lock contention by adding jitter to access of
59-
one time key and sessions anydbm databases.
60-
61-
- Fixes for deprecated calls/libraries in newer Pythons:
62-
distutils, crypt, socket.sslserver....
63-
64-
- Additional strings marked for translation.
65-
66-
- Multiple crash fixes.
67-
68-
- Improvements to tracker templates.
69-
70-
- Translation object added to internal database
71-
handle. This allows auditors and extensions to
72-
provide efficient translations.
60+
- Fix issues with Roundup unable to find supporting files
61+
when installed via pip. Removed additional references to
62+
distfiles module.
7363

7464
The file CHANGES.txt has a detailed list of feature additions and
75-
bug fixes (50) for each release. The most recent changes from
65+
bug fixes (57) for each release. The most recent changes from
7666
there are at the end of this announcement. Also see the
7767
information in doc/upgrading.txt.
7868

@@ -88,9 +78,10 @@ If you're upgrading from an older version of Roundup you *must* follow
8878
all the "Software Upgrade" guidelines given in the doc/upgrading.txt
8979
documentation.
9080

91-
Note that you should run ``roundup-admin ... migrate`` to update the
92-
database schema version. Do this before you use the web, command-line
93-
or mail interface and before any users access the tracker.
81+
Note that you should run ``roundup-admin ... migrate`` for
82+
all your trackers to update the database schema version. Do
83+
this before you use the web, command-line or mail interface
84+
and before any users access the tracker.
9485

9586
Roundup requires Python 2 newer than version 2.7.2 or Python 3 newer
9687
than or equal to version 3.6 for correct operation. (Python
@@ -150,9 +141,10 @@ and supports four database back-ends (anydbm, sqlite, mysql and postgresql).
150141
Recent Changes
151142
==============
152143

153-
From 2.1.0 to 2.2.0b1.
144+
From 2.1.0 to 2.2.0.
154145

155146
Fixed:
147+
------
156148

157149
- issue2551161 - Fix ResourceWarnings when running with -W default.
158150
Cleaned up leaking file descriptors from zopetal pre-compile, python
@@ -174,6 +166,8 @@ Fixed:
174166
length. All other paths with a . in then will be passed through
175167
without change. This allows items like a JWT to be passed as a path
176168
element. (John Rouillard)
169+
- issue2550995 - KeyError classic during roundup-admin install. Add
170+
paths to search for locale and template files.
177171
- issue2551167 - pip install in containerized environments puts
178172
template and locale files under site-packages where roundup can't find
179173
them. Change code to find them under site-packages.
@@ -239,9 +233,21 @@ Fixed:
239233
- issue2551207 - Fix sorting by order attribute if order attributes can
240234
be None. Add a test.
241235
- issue2551203 fix CORS requests by providing proper headers and allowing
242-
unauthenticted CORS preflight requests.
236+
unauthenticted CORS preflight requests. (Marcus Priesch and John
237+
Rouillard)
238+
- issue2551206 - removed some windows installer references that were missed.
239+
- document use of jinja2 templating as optional in config.ini
240+
file. Report if available or not. (John Rouillard)
241+
- make setup.py install the Zope and wsgi.py frontends under
242+
share/frontends. This matches the install of the cgi-bin/roundup.cgi
243+
frontend. (John Rouillard)
244+
- prevent submit button from showing up when using _generic.item.html
245+
if the user doesn't have edit permissions. (John Rouillard)
246+
- issue2551216 - create new mysql databases using COLLATE
247+
utf8_general_ci to prevent crashes in test suite. (John Rouillard)
243248

244249
Features:
250+
---------
245251

246252
- issue2551147 - Enable compression of http responses in roundup.
247253
Allow roundup to return gzip, (br or zstd with added modules)
@@ -306,3 +312,6 @@ Features:
306312
i18n object is now also correctly set for the mail interface:
307313
previously the 'language' setting in the [mailgw] section seems to
308314
have been ignored. Thanks to Marcus Priesch for the patch.
315+
- issue2551212 - speed up wsgi interface by caching the tracker
316+
instance. Hidden behind a feature flag. See upgrading.txt for
317+
details. (Marcus Priesch with feature flag by John Rouillard)

doc/customizing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. meta::
2-
:description language=en:
2+
:description:
33
How to customize and extend the Roundup Issue
44
Tracker. Includes many cookbook and how-to
55
examples. Reference for the design and internals

doc/features.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. meta::
2-
:description language=en:
2+
:description:
33
Features of using the Roundup Issue Tracker. Describes
44
all access methods, configuration and workflow capabilities.
55
Links to detailed documentation.

doc/glossary.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. meta::
2-
:description language=en:
2+
:description:
33
Definitions of terms used in the Roundup Issue Tracker
44
documentation.
55

doc/html_extra/spec.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<html>
22
<head>
3+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
35
<title>Software Carpentry Track: Roundup</title>
46
</head>
57
<body bgcolor=white>

0 commit comments

Comments
 (0)