Skip to content

Commit

Permalink
Get ready for release 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Jun 3, 2020
1 parent 02cd3c0 commit 30a9ae3
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 12 deletions.
48 changes: 45 additions & 3 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,8 +1,50 @@
2020-06-03 rocky <rocky@gnu.org>

* NEWS.md, __pkginfo__.py, admin-tools/how-to-make-a-release.md,
trepanxpy/version.py: Get ready for release 1.0.2

2020-06-02 rocky <rocky@gnu.org>

* README.md, screenshots/.gitignore,
screenshots/trepan-xpy-demo1.cast,
screenshots/trepan-xpy-demo2.cast, trepanxpy/debugger_defaults.py,
trepanxpy/processor/command/set_subcmd/loglevel.py,
trepanxpy/processor/command/set_subcmd/logtrace.py,
trepanxpy/processor/command/show.py,
trepanxpy/processor/command/show_subcmd/__init__.py,
trepanxpy/processor/command/show_subcmd/loglevel.py: set logtrace ->
set loglevel and ... add `show loglevel`. Bugs the set routine were fixed as well. Additional loglevel names
(e.g. critical, warning) were added README.md and screenshot have been updated.

2020-06-01 rocky <rocky@gnu.org>

* __pkginfo__.py, trepanxpy/fmt.py: Bump versions, remove debug
stmts

2020-05-30 rocky <rocky@gnu.org>

* : commit d2aae9b27c79a32768cbecbba20e840af5c9f0af Merge: 2dd2321
a9f60c2 Author: rocky <rocky@gnu.org> Date: Sat May 30 18:10:39
2020 -0400

2020-05-30 rocky <rocky@gnu.org>

* : commit 2dd23218913f8feda80becac2258e23624438097 Author: rocky
<rocky@gnu.org> Date: Sat May 30 17:54:37 2020 -0400

2020-05-30 rocky <rocky@gnu.org>

* README.md, README.rst, __pkginfo__.py, setup.py: Try using
Markdown

2020-05-30 rocky <rocky@gnu.org>

* __pkginfo__.py, admin-tools/how-to-make-a-release.md,
trepanxpy/processor/trace.py, trepanxpy/version.py: Get ready for
release 1.0.1
* ChangeLog, Makefile, NEWS.md, __pkginfo__.py,
admin-tools/how-to-make-a-release.md, admin-tools/{make-dist.sh =>
make-dist-newer.sh}, admin-tools/make-dist-older.sh,
admin-tools/{pyenv-versions => pyenv-versions-newer},
admin-tools/pyenv-versions-older, trepanxpy/processor/trace.py,
trepanxpy/version.py: Get ready for release 1.0.1

2020-05-29 rocky <rocky@gnu.org>

Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
1.0.2 2020-06-03 Marilyn + 1
============================

Very minor improvements but note that `set logtrace` has been renamed to `set loglevel`.

A few bugs in setting the loglevl have been fixed. For example, previously `set loglevel` only had an effect only on the first setting. The corresponding * `show loglevel` has now been added, and this output also appears after setting the loglevel.

1.0.1 2020-05-30 Lady Elaine
============================

Expand Down
2 changes: 1 addition & 1 deletion __pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"columnize >= 0.3.10",
"nose>=1.0.0, <= 1.3.7",
"pyficache >= 2.0.1",
"x-python >= 1.3.1",
"x-python >= 1.3.2",
"trepan3k >= 1.0.2",
]
license = "GPL3"
Expand Down
49 changes: 42 additions & 7 deletions admin-tools/how-to-make-a-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
- [Change version in trepanxpy/version.py.](#change-version-in-trepanxpyversionpy)
- [Update ChangeLog:](#update-changelog)
- [Update NEWS.md from ChangeLog. Then:](#update-newsmd-from-changelog-then)
- [Update NEWS.md from master branch](#update-newsmd-from-master-branch)
- [Switch to python-3.2, sync that up and build that first since it creates a tarball which we don't want.](#switch-to-python-32-sync-that-up-and-build-that-first-since-it-creates-a-tarball-which-we-dont-want)
- [Make packages and check](#make-packages-and-check)
- [Get on PyPy](#get-on-pypy)
- [Check package on github](#check-package-on-github)
- [Release on Github](#release-on-github)
- [Get on PyPI](#get-on-pypi)
- [Move dist files to uploaded](#move-dist-files-to-uploaded)

<!-- markdown-toc end -->

Expand All @@ -34,21 +37,53 @@
$ git commit --amend .
$ git push # get CI testing going early

# Update NEWS.md from master branch
# Switch to python-3.2, sync that up and build that first since it creates a tarball which we don't want.

$ git commit -m"Get ready for release $VERSION" .
$ source admin-tools/setup-python-3.2.sh
$ git merge master

# Make packages and check

$ ./admin-tools/make-dist.sh
$ ./admin-tools/make-dist-older.sh
$ pyenv local 3.8.3
$ twine check dist/trepanxpy-$VERSION*
$ git tag release-python-3.2-$VERSION
$ . ./admin-tools/make-dist-newer.sh
$ twine check dist/trepanxpy-$VERSION*

# Get on PyPy
# Check package on github

Todo: turn this into a script in `admin-tools`

$ mkdir /tmp/gittest; pushd /tmp/gittest
$ pyenv local 3.7.5
$ pip install -e git://github.com/rocky/trepan-xpy.git#egg=trepanxpy
$ trepan-xpy -V # see that new version appears
$ pip uninstall trepanxpy
$ popd

# Release on Github

Goto https://github.com/rocky/trepan-xpy/releases/new

Get version from `$VERSION`. Copy from `NEWS.md`
Upload eggs, wheels, and tarball


Now check the tagged release.

Todo: turn this into a script in `admin-tools`

$ git pull # to pull down new tag
$ pushd /tmp/gittest
$ pyenv local 3.7.5
$ pip install -e git://github.com/rocky/trepan-xpy.git@${VERSION}#egg=trepanxpy
$ trepan-xpy -V # see that new version appears
$ pip uninstall trepanxpy
$ popd

# Get on PyPI

$ twine upload dist/trepanxpy-${VERSION}-py37-none-any.whl # Older versions don't support Markdown
$ twine upload dist/trepanxpy-${VERSION}*

Check on https://pypi.org/project/trepan-xpy/
Expand Down
2 changes: 1 addition & 1 deletion trepanxpy/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# This file should define a variable VERSION which we use as the
# debugger version number.

VERSION="1.0.1" # noqa
VERSION="1.0.2" # noqa

0 comments on commit 30a9ae3

Please sign in to comment.