Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
feat(upgr): upgr-script use vermath.py to calc NEW_VERSION
Browse files Browse the repository at this point in the history
+ Discovered that AIO has old `packaging` package 16.8 (need >= 17.1)!
  • Loading branch information
ankostis committed May 29, 2018
1 parent d02dc39 commit 94cecbd
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 2 deletions.
53 changes: 53 additions & 0 deletions Archive/Apps/Console/ConsoleZ.1.18.2.17256.ver
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
## ConsoleZ.1.18.2.17256 (beta)

1.18.2.17272
@cbucher cbucher released this on Sep 29, 2017 · 13 commits to master since this release

! Display an error dialog when seeking settings of an undefined tab.
! Detect if ConsoleZ is hooked (ConsoleHook/ConsoleHook32).
+ "New Tab" button in tabs area.
+ Save "Switch On/Off Transparency" state.
* Fix startup directory consistency.
* Fix retrieving of last process ID attached to the console.
* Fix sliders in transparency settings dialog.
* Refresh tab title when last process ID attached to the console changes.
* Fix bing image copyright displayed into status bar.
* Fix external command saving into settings file.


## ConsoleZ.1.18.1.17087
@cbucher released this on Mar 28 · 7 commits to master since this release

+ Transparency settings per windowed/full screen mode.
+ Print code page (for each shell) in diagnostic report.
* ALT-SPACE menu.
* "Attach Consoles" failure.
* Split bar size.
* Start a safe console when no console started.
* Standardize hotkeys modifiers and order (mouse).


## 1.18.0.17048
@cbucher cbucher released this on Feb 18 · 28 commits to master since this release

! Update tab title current directory in realtime.
! Renaming a tab title to empty is no longer allowed
(empty string is replaced by tab title from settings).
! Backup settings file using a timestamp (unique backup filename).
! Tabbing framework localization.
+ Workspaces.
+ Option to hide the "close tab" button.
+ Split bar size is configurable.
+ Allow merging tabs (horizontally or vertically).
+ Allow view keeping background, colors and cursor
when it moved into another tab.
+ Support for reversed video (swap foreground and background).
+ Allow mouse events forwarding.
+ Show Bing image copyright in status bar.
* GDI leaks (thanks to char101).
* Allow choosing environment variables inheritance method.
* Improve Windows 10 glass transparency.
* PowerShell progress bar is fixed on Windows 10.

## ConsoleZ.1.18.1.17023
previous in AIO
2 changes: 1 addition & 1 deletion Upgrade/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# ask ankostis

VERSION := 2.a0
VERSION := post201805.dev0
UPGRADE_SCRIPT := "CO2MPAS_AIO_UpgradePack-$(VERSION).sh"

input_script := upgrade-script.sh
Expand Down
9 changes: 8 additions & 1 deletion Upgrade/upgrade-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,13 @@ check_python_version () {
_VALID_VERSION=$( $python -c "import packaging.version as v;print(v.Version('$inpver'),end='')" )
}


add_versions () {
NEW_VERSION="$( PYTHONPATH="$INFLATE_DIR/wheelhouse/packaging-17.1-py2.py3-none-any.whl" \
python "$INFLATE_DIR/vermath.py" "${OLD_AIO_VERSION}" "^$NEW_VERSION" )"

}

check_existing_AIO () {
## Check existing AIO's version and decide future-one.
local action_prefix="$1"
Expand Down Expand Up @@ -386,7 +393,7 @@ check_existing_AIO () {
fi
fi

NEW_VERSION="${OLD_AIO_VERSION%?${NEW_VERSION}}.$NEW_VERSION"
add_versions
if [ "$OLD_AIO_VERSION" = "$NEW_VERSION" ]; then
SCRIPT_ACTION="RE-INSTALL into '$AIODIR', version $OLD_AIO_VERSION"
else
Expand Down
1 change: 1 addition & 0 deletions Upgrade/wheels.list
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ networkx-2.1-py2.py3-none-any.whl
numba-0.38.0-cp36-cp36m-win_amd64.whl
numexpr-2.6.5-cp36-cp36m-win_amd64.whl
openpyxl-2.5.3-py2.py3-none-any.whl
packaging-17.1-py2.py3-none-any.whl
pandas-0.23.0-cp36-cp36m-win_amd64.whl
pip_tools-2.0.2-py2.py3-none-any.whl
pipdeptree-0.12.1-py3-none-any.whl
Expand Down

0 comments on commit 94cecbd

Please sign in to comment.