Skip to content

Commit

Permalink
Version 0.2.16 (#27)
Browse files Browse the repository at this point in the history
version 0.2.16 - update to ELN v1.8.2
  • Loading branch information
harivyasi authored Jan 24, 2024
1 parent 40d9a2a commit 52022c5
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 486 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ChemCLI tool supports the following versions of Chemotion ELN:

| ELN Version | `docker-compose.yml` file | Supported by chemCLI version |
| ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------- |
| [v1.8.x](https://github.com/ComPlat/chemotion_ELN/releases/tag/v1.8.1) | [eln-1.8.1](https://raw.githubusercontent.com/Chemotion/ChemCLI/681cab48409d6c9a6be51ac5903e04890467d998/payload/docker-compose.yml) | [0.2.x](https://github.com/Chemotion/ChemCLI/releases/latest) |
| [v1.8.x](https://github.com/ComPlat/chemotion_ELN/releases/tag/v1.8.2) | [eln-1.8.2](https://raw.githubusercontent.com/Chemotion/ChemCLI/7a62248a40416586e5d5e7d1a77adb6fe4f360fe/payload/docker-compose.yml) | [0.2.x](https://github.com/Chemotion/ChemCLI/releases/latest) |
| [v1.7.x](https://github.com/ComPlat/chemotion_ELN/releases/tag/v1.7.3) | [eln-1.7.3](https://raw.githubusercontent.com/Chemotion/ChemCLI/b8bb1280a6e042b96b8d3e71d030709b113686bc/payload/docker-compose.yml) | [0.2.x](https://github.com/Chemotion/ChemCLI/releases/latest) |
| [v1.6.x](https://github.com/ComPlat/chemotion_ELN/releases/tag/v1.6.2) | [eln-1.6.2](https://raw.githubusercontent.com/Chemotion/ChemCLI/e577832edaba14fa21ee9aa9288e4b00052729c8/payload/docker-compose.yml) | [0.2.x](https://github.com/Chemotion/ChemCLI/releases/latest) |

Expand Down
8 changes: 4 additions & 4 deletions cli/root-instance-new.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import (
// helper to determine the required compose file
func getComposeAddressToUse(currentVersion, action string) (use string) {
versions := make(map[string]string)
latestForThisCLIRelease := "1.8.1"
orderVersions := []string{latestForThisCLIRelease, "1.8.0", "1.7.3", "1.6.2"} // descending order
versions[latestForThisCLIRelease] = "https://raw.githubusercontent.com/Chemotion/ChemCLI/681cab48409d6c9a6be51ac5903e04890467d998/payload/docker-compose.yml"
versions["1.8.0"] = "https://raw.githubusercontent.com/Chemotion/ChemCLI/0664a5667d06da7898e83a11e31e4b471235daf1/payload/docker-compose.yml"
latestForThisCLIRelease := "1.8.2"
orderVersions := []string{latestForThisCLIRelease, "1.8.1", "1.7.3", "1.6.2"} // descending order
versions[latestForThisCLIRelease] = "https://raw.githubusercontent.com/Chemotion/ChemCLI/7a62248a40416586e5d5e7d1a77adb6fe4f360fe/payload/docker-compose.yml"
versions["1.8.1"] = "https://raw.githubusercontent.com/Chemotion/ChemCLI/681cab48409d6c9a6be51ac5903e04890467d998/payload/docker-compose.yml"
versions["1.7.3"] = "https://raw.githubusercontent.com/Chemotion/ChemCLI/b8bb1280a6e042b96b8d3e71d030709b113686bc/payload/docker-compose.yml"
versions["1.6.2"] = "https://raw.githubusercontent.com/Chemotion/ChemCLI/e577832edaba14fa21ee9aa9288e4b00052729c8/payload/docker-compose.yml"
validVersions := []string{}
Expand Down
2 changes: 1 addition & 1 deletion cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const (
// configuration and logging
var (
// version number, here to allow override
versionCLI = "0.2.15"
versionCLI = "0.2.16"
// current shell
shell string
// currently selected instance
Expand Down
29 changes: 14 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ go 1.21
require (
github.com/cavaliergopher/grab/v3 v3.0.1
github.com/chigopher/pathlib v1.0.0
github.com/google/uuid v1.3.1
github.com/google/uuid v1.6.0
github.com/hashicorp/go-version v1.6.0
github.com/manifoldco/promptui v0.9.0
github.com/rs/zerolog v1.31.0
github.com/shirou/gopsutil v3.21.11+incompatible
github.com/spf13/cobra v1.7.0
github.com/spf13/viper v1.17.0
github.com/spf13/cobra v1.8.0
github.com/spf13/viper v1.18.2
)

require (
github.com/chzyer/readline v1.5.1 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/google/go-github v17.0.0+incompatible
github.com/google/go-querystring v1.1.0 // indirect
Expand All @@ -25,26 +25,25 @@ require (
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/sagikazarmark/locafero v0.3.0 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/schollz/progressbar/v3 v3.13.1
github.com/schollz/progressbar/v3 v3.14.1
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.10.0 // indirect
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/term v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading

0 comments on commit 52022c5

Please sign in to comment.