#11914 closed task (fixed)
Release Trac 1.0.5 / 1.1.4
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.5 |
Component: | general | Version: | |
Severity: | normal | Keywords: | release |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
This ticket is used to coordinate the finalization and testing of the next stable version of Trac, 1.0.5, and the next developer-stable version of Trac, 1.1.4. Some proposed dates:
- Feb 23rd: Stop development on stable branches and trunk and start the testing and release cycle.
- Mar 2nd: Release Trac 1.0.5 / 1.1.4
Attachments (0)
Change History (31)
comment:1 by , 10 years ago
Type: | defect → task |
---|
comment:2 by , 10 years ago
Summary: | Release Trac 0.12.7 / 1.0.4 / 1.1.4 → Release Trac 0.12.7 / 1.0.5 / 1.1.4 |
---|
comment:3 by , 10 years ago
Milestone: | 1.0.4 → 1.0.5 |
---|
follow-up: 6 comment:4 by , 10 years ago
DONE include TicketQuery page in default-pages (comment:9:ticket:11725).
comment:5 by , 10 years ago
Description: | modified (diff) |
---|---|
Summary: | Release Trac 0.12.7 / 1.0.5 / 1.1.4 → Release Trac 1.0.5 / 1.1.4 |
comment:6 by , 10 years ago
Replying to rjollos:
DONE include TicketQuery page in default-pages (comment:9:ticket:11725).
Wiki edited in TracQuery@44 and TicketQuery@13. Next, TicketQuery needs to be added to default-pages. We should consider first renaming the page to TracTicketQueryMacro.
comment:7 by , 10 years ago
Possible action item for 1.0.5 and/or 1.1.4: eliminate need for duplicate editing of similar documentation, as discussion in gmessage:trac-dev:oMJ42ETozL0/slolTrwJL1YJ.
follow-up: 23 comment:8 by , 10 years ago
To address an item in TracDev/ToDo#Codeclean-up, we could consider running a whitespace cleanup on the codebase (as in [11490]) as part of the TracDev/ReleaseChecklist.
follow-ups: 10 11 comment:9 by , 10 years ago
Modifications to ChangeLog page proposed in log:rjollos.git:t11914. Before committing the changes, the ChangeLog file in the source and on the wiki should probably be renamed to TracChangeLog. Most of the help pages are prefixed with Trac, and TracChangeLog is less likely to conflict with user pages.
Executing checkwiki.py
shows that the ChangeLog page needs extensive updates - replacement of TracLinks with InterTracLinks.
comment:10 by , 10 years ago
Replying to rjollos:
Modifications to ChangeLog page proposed in log:rjollos.git:t11914. Before committing the changes, the ChangeLog file in the source and on the wiki should probably be renamed to TracChangeLog. Most of the help pages are prefixed with Trac, and TracChangeLog is less likely to conflict with user pages.
Yeah. I agree the renaming.
comment:11 by , 10 years ago
Replying to rjollos:
Modifications to ChangeLog page proposed in log:rjollos.git:t11914. Before committing the changes, the ChangeLog file in the source and on the wiki should probably be renamed to TracChangeLog.
Also, we could probably truncate the information about versions older than 0.12 or even 1.0, and refer to these older releases by a link to (Trac)ChangeLog@...
.
comment:12 by , 10 years ago
Thanks for the feedback.
- Renamed ChangeLog to TracChangeLog.
- Replaced ChangeLog with TracChangeLog throughout the wiki.
- Removed release prior to 0.12 in TracChangeLog@96.
- Pegged some revisions to TracChangeLog@95: the descriptions in milestone:0.11.1 … milestone:0.11.7, TracDev/ReleaseNotes/0.11@37
- Added link to older releases: TracChangeLog@104.
comment:13 by , 10 years ago
TracChangeLog added to default-pages in [13757], merged in [13758].
TracChangeLog@99 updated with release dates. 1.1/TracChangeLog added.
follow-up: 24 comment:14 by , 10 years ago
DONE add documentation to TracWebAdmin, add TracWebAdmin to default-pages and use TracWebAdmin throughout documentation (especially as a replacement for WebAdmin). See comment:30:ticket:11725. Delete WebAdmin and TracWebAdmin.
comment:15 by , 10 years ago
comment:4 / comment:6 implemented on 1.0-stable in [13775], merged to trunk in [13776]. I've left the name as TicketQuery so that it matches the macro name. It would be nice to have the Trac prefix on all documentation pages, but we already have pages such as CamelCase and WikiPageNames for which that isn't the case. The issue is probably better handled by ideas in #2656.
comment:16 by , 10 years ago
The PyPI shields could be useful for the TracDownload page, but I couldn't find a good place to locate any of them. Maybe someone else has a better idea
Another option would be to add a README.md for use on GitHub and add the latest release shield.
follow-up: 18 comment:17 by , 10 years ago
Continuing the discussion from gmessage:trac-dev:oMJ42ETozL0/H33bk-qkIZAJ, I worked in rjollos.git:t11914-wiki-to-rst and executed the following:
$ ./contrib/wiki2rst.py TracInstall > INSTALL $ ./contrib/wiki2rst.py TracUpgrade > UPGRADE
Everything looks good. There is extra whitespace in some places, but I guess that's due to html2rest
and I didn't investigate further. It's probably good enough as is. The output of [[TracGuideToc]]
could just be removed manually before updating the INSTALL page with each release.
Some proposed changes for the TracInstall page:
- Installing PySQLite is probably an advanced step that could be located elsewhere: TracInstall#ForSQLite.
- TracInstall#VersionControlSystem should contain a section for Git.
- In TracInstall#OtherPythonPackages, for Babel we might suggest 0.9.6 or 1.3 (I think 1.0 - 1.2 have issues, and it's probably too complicated to mention that some versions of 1.0dev may work. 0.9.5 might technically work, but I doubt anyone has trouble getting 0.9.6)
I didn't look as closely at UPGRADE / TracUpgrade, but I'll do that before the release.
comment:18 by , 10 years ago
Replying to rjollos:
- Installing PySQLite is probably an advanced step that could be located elsewhere: TracInstall#ForSQLite.
Done in TracInstall@398.
comment:19 by , 10 years ago
comment:20 by , 10 years ago
INSTALL and UPGRADE were updated on 1.0-stable in [13849]. It looks like maybe there are errors rendering the files in ReST, but I haven't investigated:
I imagine it is good enough though since users will usually refer to the web-based versions. We could always try to improve the html2rest later on.
comment:21 by , 10 years ago
The following patch would reduce errors rendering the files.
- Remove
[[TracGuideToc]]
macro. - Remove
<span class="icon">\u200b</span>
in external links. - Strip leading and trailing white spaces from inside of
<em> ... </em>
. e.g. wrong rendering* Enjoy! *
inINSTALL
file. - Stop converting
http://trac.edgewall.org/wiki/
totrac/wiki/default-pages/
in generated ReST text.
-
contrib/wiki2rst.py
diff --git a/contrib/wiki2rst.py b/contrib/wiki2rst.py index ef18656..e8e1651 100755
a b 2 2 # -*- coding: utf-8 -*- 3 3 4 4 import os.path 5 import re 5 6 import sys 6 7 7 8 from cStringIO import StringIO … … def main(): 42 43 if not wiki.exists: 43 44 continue 44 45 context = web_context(req, wiki.resource, absurls=True) 45 html = '<html><body>%s</body></html>' % \ 46 format_to_html(env, context, wiki.text).encode('utf-8') 46 text = re.sub('\r?\n', '\n', wiki.text) 47 text = re.sub(r'\[\[TracGuideToc\]\]\r?\n?', '', text) 48 html = format_to_html(env, context, text) 49 html = html.replace(u'<span class="icon">\u200b</span>', '') 50 html = re.sub(r'<em>\s*([^<]*?)\s*</em>', r'<em>\1</em>', html) 51 html = '<html><body>%s</body></html>' % html.encode('utf-8') 47 52 out = StringIO() 48 53 html2rest(html, writer=out) 49 out = out.getvalue().replace(': http://trac.edgewall.org/wiki/', 50 ': trac/wiki/default-pages/') 54 out = out.getvalue().strip('\n') 55 # sort links 56 out = re.sub(r'(?:\n\.\. _[^\n]*)+\Z', 57 lambda m: '\n'.join(sorted(m.group(0).split('\n'))), out) 51 58 sys.stdout.write(out) 52 59 53 60
There are still some errors because one label have multiple links like this.
.. _Babel: http://babel.edgewall.org .. _Babel: http://trac.edgewall.org/wiki/TracInstall#OtherPythonPackages
follow-up: 31 comment:22 by , 10 years ago
More improvements of wiki2rst.py in jomae.git@t11914.
Remained issues:
`mod_python`_
and`CGI`_
don't work. Link and italic markups cannot be nested in ReST.- One of
`trac- admin`_
doesn't work due to wrapped the link. `SilverCity`_
doesn't work.` [trac] htdocs_location`_
doesn't work.- Some Title level inconsistent:// errors.
comment:23 by , 10 years ago
Replying to rjollos:
To address an item in TracDev/ToDo#Codeclean-up, we could consider running a whitespace cleanup on the codebase (as in [11490]) as part of the TracDev/ReleaseChecklist.
DONE Added in TracDev/ReleaseChecklist@81.
comment:24 by , 10 years ago
Replying to rjollos:
add documentation to TracWebAdmin, add TracWebAdmin to default-pages and use TracWebAdmin throughout documentation (especially as a replacement for WebAdmin). See comment:30:ticket:11725.
Deferred to next release (comment:1:ticket:11987).
comment:25 by , 10 years ago
You've pushed commits [13886:13892] in trunk during release procedure. I don't think those changes are critical. Those changes might lead something wrong. At least, the [13889] changes lead changes of message catalogs. (sorry, misunderstood) We still have milestone:1.1.5. I think it might be good to push in 1.1.5. I think we should release new versions of Trac before pushing the changes.
comment:26 by , 10 years ago
I won't push any more changes. The work in comment:22 is the final step before starting testing and the release process. Feel free to push those changes, otherwise I'll push them in about 20 hours from now.
follow-up: 30 comment:27 by , 10 years ago
TracIni@204 highlights a t.e.o specific piece of documentation that should be removed when pulling changes from the repository to the default-pages
directory. In the future we could possibly make the checkwiki
script strip it out.
comment:28 by , 10 years ago
comment:22 changes committed to 1.0-stable in [13894], merged to trunk in [13895].
comment:29 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:30 by , 8 years ago
Replying to Ryan J Ollos:
TracIni@204 highlights a t.e.o specific piece of documentation that should be removed when pulling changes from the repository to the
default-pages
directory. In the future we could possibly make thecheckwiki
script strip it out.
This was done in [15992:15994] (comment:15:ticket:12578).
comment:31 by , 8 years ago
Replying to Jun Omae:
More improvements of wiki2rst.py in jomae.git@t11914.
Remained issues:
Will be addressed in #12835.
Changing to task.