Edgewall Software
Modify

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#12477 closed task (fixed)

Release Trac 1.2.1

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.2.1
Component: general Version:
Severity: normal Keywords: release
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

This ticket is used to coordinate the finalization and testing of the next stable version of Trac, 1.2.1.

Attachments (0)

Change History (17)

comment:1 by ilewismsl, 8 years ago

This comment probably belongs under #12120, but that ticket is closed. So, placing here.

Your home page still shows 1.0 as the current stable version of Trac and 1.2 as the in-development version of Trac.

comment:2 by Ryan J Ollos, 8 years ago

Thanks for bringing that to our attention. We should update TracDev/ReleaseChecklist to add that step.

comment:3 by Christian Boos, 8 years ago

I've delayed that a bit until I finalize creating a demo-1.2 site… Should be coming soon! DONE

Last edited 8 years ago by Christian Boos (previous) (diff)

in reply to:  3 ; comment:4 by ilewismsl, 8 years ago

Replying to Christian Boos:

I've delayed that a bit until I finalize creating a demo-1.2 site…

Home page looks good for the main-line branch, but the Watch it evolve block still references the now-closed 1.2 milestone.

in reply to:  4 comment:5 by Ryan J Ollos, 8 years ago

Replying to ilewismsl:

Home page looks good for the main-line branch, but the Watch it evolve block still references the now-closed 1.2 milestone.

Thanks, fixed in WikiStart@165. Prior to WikiStart@162 we pointed to next-dev-1.1.x.

comment:6 by Ryan J Ollos, 8 years ago

After WikiStart@166, Trac 1.0 is labeled as LTS. I'm making note of that here because based on previous discussion we would make 1.2 an LTS release, but not 1.0.

in reply to:  6 comment:7 by Christian Boos, 8 years ago

Replying to Ryan J Ollos:

After WikiStart@166, Trac 1.0 is labeled as LTS. I'm making note of that here because based on previous discussion we would make 1.2 an LTS release, but not 1.0.

Right, I also asked myself what would be the best way to handle this, 1.0 is indeed the previous stable, 0.12 is the previous "LTS" stable while 1.2 was supposed to be the next "LTS" one. Or is that just too complex? I wanted to raise the question on Trac-dev…

comment:8 by Peter Suter, 8 years ago

Sorry, I didn't intend to restart a settled discussion. I thought I was just fixing a small oversight. The 1.0 demo instance is shown in the box, while the 0.12 demo instance is not shown. So I thought I had just fixed the "Get started"-links to be consistent with that. I didn't remember that 1.0 wasn't supposed to be LTS. Feel free to revert / adjust accordingly.

comment:9 by Ryan J Ollos, 8 years ago

As far as I'm aware we hadn't formally documented the decision anywhere, but making 1.2 an LTS release sounds good to me.

comment:10 by Ryan J Ollos, 8 years ago

I'll plan to do release on 03/25 or 03/26.

comment:11 by Ryan J Ollos, 8 years ago

Owner: set to Ryan J Ollos
Status: newassigned

comment:12 by Ryan J Ollos, 8 years ago

We can no longer upload both tar.gz and zip to PyPI. See this comment and the two that follow it.

comment:13 by Ryan J Ollos, 8 years ago

Resolution: fixed
Status: assignedclosed

I had to make a change to Makefile to get it to work on OSX:

  • Makefile

     
    655655        @echo "Packages for Trac-$(version):"
    656656        @echo
    657657        @$(if $(packages), \
    658             md5sum $(packages); \
    659             sha1sum $(packages); \
     658            md5 $(packages); \
     659            shasum $(packages); \
    660660        , \
    661661            echo "No packages found: $(sdist+wheel) $(wininst)" \
    662662        )

Maybe it needs to be configurable to support multiple platforms?

comment:14 by Jun Omae, 8 years ago

I think we could add small script to compute checksum, instead of configurable. See also python-issue:26488.

$ make version=1.0.14dev checksum
Packages for Trac-1.0.14dev:

90c3832d4a0909de8358a0c116d6b1c8 *dist/Trac-1.0.14dev.tar.gz
d7a765e82d6b217532d0ca3d6bca73fb *dist/Trac-1.0.14dev.zip
931ed6ff9efbbbd5b25097c5b6db3d91a7d712d6 *dist/Trac-1.0.14dev.tar.gz
798ec3780899757480f30c3e3dc8b225709c5042 *dist/Trac-1.0.14dev.zip
  • Makefile

    diff --git a/Makefile b/Makefile
    index 41522dd92..36e8b5e0e 100644
    a b else  
    657657       @echo "Packages for Trac-$(version):"
    658658       @echo
    659659       @$(if $(packages), \
    660            md5sum $(packages); \
    661            sha1sum $(packages); \
     660           python contrib/checksum.py md5:sha1 $(packages); \
    662661       , \
    663662           echo "No packages found: $(sdist+wheel) $(wininst)" \
    664663       )
  • new file contrib/checksum.py

    diff --git a/contrib/checksum.py b/contrib/checksum.py
    new file mode 100755
    index 000000000..466a4f6b4
    - +  
     1#!/usr/bin/env python
     2# -*- coding: utf-8 -*-
     3#
     4# Copyright (C) 2017 Edgewall Software
     5# All rights reserved.
     6#
     7# This software is licensed as described in the file COPYING, which
     8# you should have received as part of this distribution. The terms
     9# are also available at http://trac.edgewall.com/license.html.
     10#
     11# This software consists of voluntary contributions made by many
     12# individuals. For the exact contribution history, see the revision
     13# history and logs, available at http://trac.edgewall.org/.
     14
     15import hashlib
     16import io
     17import sys
     18
     19
     20def main():
     21    args = sys.argv[1:]
     22    if not args:
     23        sys.stderr.write('Usage: %s algorithm files...\n' % sys.argv[0])
     24        return 2
     25    algorithms = args.pop(0).replace(':', ' ').split()
     26    for algorithm in algorithms:
     27        for filename in args:
     28            m = hashlib.new(algorithm)
     29            with io.open(filename, 'rb') as f:
     30                while True:
     31                    data = f.read(4096)
     32                    if not data:
     33                        break
     34                    m.update(data)
     35            print('%s *%s' % (m.hexdigest(), filename))
     36
     37
     38if __name__ == '__main__':
     39    sys.exit(main() or 0)
Last edited 8 years ago by Jun Omae (previous) (diff)

comment:15 by Ryan J Ollos, 8 years ago

Good idea and works well. I'll commit the changes shortly if there's no further feedback.

comment:16 by Ryan J Ollos, 8 years ago

comment:13 change committed in [15731:15733].

in reply to:  12 comment:17 by Ryan J Ollos, 8 years ago

Replying to Ryan J Ollos:

We can no longer upload both tar.gz and zip to PyPI. See this comment and the two that follow it.

Updated Makefile on 1.0-stable in r16014, merged in r16015 and r16016. See also #12833.

Edited TracDev/ReleaseChecklist@114.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.