Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
64ac846b
Commit
64ac846b
authored
Nov 20, 2019
by
Jonah Husson
Browse files
Options
Downloads
Patches
Plain Diff
fix version stuff
parent
ed9b1a7c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
globals/checkVersion.go
+6
-0
6 additions, 0 deletions
globals/checkVersion.go
globals/version.go
+178
-9
178 additions, 9 deletions
globals/version.go
with
184 additions
and
9 deletions
globals/checkVersion.go
+
6
−
0
View file @
64ac846b
...
@@ -79,3 +79,9 @@ func checkVersion(ours string, theirs string) (ok bool, err error) {
...
@@ -79,3 +79,9 @@ func checkVersion(ours string, theirs string) (ok bool, err error) {
}
}
return
theirVersion
.
isCompatible
(
ourVersion
),
nil
return
theirVersion
.
isCompatible
(
ourVersion
),
nil
}
}
// Utility method, returns whether the local version and remote version are
// compatible
func
CheckVersion
(
ver
string
)
(
bool
,
error
)
{
// again, version stuff, move to globals
return
checkVersion
(
SEMVER
,
ver
)
}
This diff is collapsed.
Click to expand it.
globals/version.go
+
178
−
9
View file @
64ac846b
// Code generated by go generate; DO NOT EDIT.
// Code generated by go generate; DO NOT EDIT.
// This file was generated by robots at
// This file was generated by robots at
// 2019-11-
01 10:43:16.756686442
-0
7
00 P
D
T m=+0.0
02054609
// 2019-11-
20 09:59:26.914126
-0
8
00 P
S
T m=+0.0
12443432
package
globals
package
globals
const
GITVERSION
=
`
bd4f026
Merge branch '
hotfix/fixtimeout' into 'release'
`
const
GITVERSION
=
`
ed9b1a7
Merge branch '
release' into connectionRefactor
`
const
SEMVER
=
"0.1.0"
const
SEMVER
=
"0.1.0"
const
GLIDEDEPS
=
``
const
GLIDEDEPS
=
`hash: 1d2d2b561c9ab69ca26c5c10441883c15fc5491fbcd30bcc51e7f16d48d6e095
updated: 2019-10-22T15:20:35.984784-07:00
// Utility method, returns whether the local version and remote version are
imports:
// compatible
- name: github.com/fsnotify/fsnotify
func
CheckVersion
(
ver
string
)
(
bool
,
error
)
{
// again, version stuff, move to globals
version: 4bf2d1fec78374803a39307bfb8d340688f4f28e
return
checkVersion
(
SEMVER
,
ver
)
- name: github.com/golang-collections/collections
}
version: 604e922904d35e97f98a774db7881f049cd8d970
repo: https://github.com/golang-collections/collections.git
vcs: git
subpackages:
- stack
- name: github.com/golang/protobuf
version: ed6926b37a637426117ccab59282c3839528a700
subpackages:
- proto
- protoc-gen-go/descriptor
- ptypes
- ptypes/any
- ptypes/duration
- ptypes/timestamp
- name: github.com/hashicorp/hcl
version: 914dc3f8dd7c463188c73fc47e9ced82a6e421ca
subpackages:
- hcl/ast
- hcl/parser
- hcl/printer
- hcl/scanner
- hcl/strconv
- hcl/token
- json/parser
- json/scanner
- json/token
- name: github.com/inconshreveable/mousetrap
version: 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75
- name: github.com/magiconair/properties
version: a586bb8b7deaae2a0eb4c6c8b63a539425628137
- name: github.com/mitchellh/go-homedir
version: af06845cf3004701891bf4fdb884bfe4920b3727
repo: https://github.com/mitchellh/go-homedir.git
vcs: git
- name: github.com/mitchellh/mapstructure
version: 3536a929edddb9a5b34bd6861dc4a9647cb459fe
- name: github.com/pelletier/go-toml
version: 5edf9acd3ea9181a0df1bc87651e5dcf4e158a35
- name: github.com/pkg/errors
version: 27936f6d90f9c8e1145f11ed52ffffbfdb9e0af7
- name: github.com/spf13/afero
version: 588a75ec4f32903aa5e39a2619ba6a4631e28424
subpackages:
- mem
- name: github.com/spf13/cast
version: c01685bb8421cecb276fa517e91f757215f980b3
- name: github.com/spf13/cobra
version: f2b07da1e2c38d5f12845a4f607e2e1018cbb1f5
subpackages:
- cobra
- name: github.com/spf13/jwalterweatherman
version: 94f6ae3ed3bceceafa716478c5fbf8d29ca601a1
- name: github.com/spf13/pflag
version: 2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab
- name: github.com/spf13/viper
version: 40e41dd2240a2ae3f6b0a908ad9ddc6cefd5e456
- name: github.com/subosito/gotenv
version: de67a6614a4de71ad5e380b6946e56ab957d58c5
- name: github.com/xeipuuv/gojsonschema
version: 82fcdeb203eb6ab2a67d0a623d9c19e5e5a64927
vcs: git
- name: gitlab.com/elixxir/comms
version: 7b5755d06d10be5bc98ef7c3bcaa5488eba3663a
repo: git@gitlab.com:elixxir/comms
vcs: git
subpackages:
- client
- connect
- gateway
- mixmessages
- registration
- name: gitlab.com/elixxir/crypto
version: 1dcfa5e528beaf524ac27c7dcf4e64ea5d2273de
repo: git@gitlab.com:elixxir/crypto
vcs: git
subpackages:
- cmix
- csprng
- cyclic
- diffieHellman
- e2e
- hash
- large
- registration
- signature/rsa
- tls
- name: gitlab.com/elixxir/primitives
version: ab1ce1d42c85b39161a8d58a5d9c1c2f76ca9771
repo: git@gitlab.com:elixxir/primitives
vcs: git
subpackages:
- circuit
- format
- id
- ndf
- switchboard
- utils
- name: golang.org/x/crypto
version: 87dc89f01550277dc22b74ffcf4cd89fa2f40f4c
subpackages:
- blake2b
- hkdf
- name: golang.org/x/net
version: ec77196f6094c3492a8b61f2c11cf937f78992ae
subpackages:
- context
- http/httpguts
- http2
- http2/hpack
- idna
- internal/timeseries
- trace
- name: golang.org/x/sys
version: 742c48ecaeb7c624c475e02f3eb0827ebb4970d4
subpackages:
- cpu
- unix
- name: golang.org/x/text
version: 3d0f7978add91030e5e8976ff65ccdd828286cba
subpackages:
- secure/bidirule
- transform
- unicode/bidi
- unicode/norm
- name: google.golang.org/genproto
version: 548a555dbc03994223efbaba0090152849259498
subpackages:
- googleapis/rpc/status
- name: google.golang.org/grpc
version: c0909e91a5045e735b2718a92e1bfef59d39b04e
subpackages:
- backoff
- balancer
- balancer/base
- balancer/roundrobin
- binarylog/grpc_binarylog_v1
- codes
- connectivity
- credentials
- credentials/internal
- encoding
- encoding/proto
- grpclog
- internal
- internal/backoff
- internal/balancerload
- internal/binarylog
- internal/channelz
- internal/envconfig
- internal/grpcrand
- internal/grpcsync
- internal/resolver/dns
- internal/resolver/passthrough
- internal/syscall
- internal/transport
- keepalive
- metadata
- naming
- peer
- reflection
- reflection/grpc_reflection_v1alpha
- resolver
- serviceconfig
- stats
- status
- tap
- name: gopkg.in/yaml.v2
version: f221b8435cfb71e54062f6c6e99e9ade30b124d5
testImports: []
`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment