Mercurial > gemma
view 3rdpartylibs.sh @ 2377:fdec7a652f34
client: imports: avoid error when cron string cannot be parsed when trying to edit imports
To prefill the form fields that generate the cron string, the currently stored cron string needs to be parsed back.
This parsing only handles numerical values for each of the six cron fields. In case of something like */15 the
regular expression does not match, leading to a null value. The cronMode select now has an empty option for cases
where the cronString does not match any known pattern.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Fri, 22 Feb 2019 12:28:14 +0100 |
parents | 251ee25accce |
children | 86173ac7f222 |
line wrap: on
line source
#!/bin/sh go get -u -v github.com/jackc/pgx # MIT go get -u -v github.com/etcd-io/bbolt/... # MIT go get -u -v github.com/mitchellh/go-homedir # MIT go get -u -v github.com/spf13/cobra # Apache-2.0 go get -u -v github.com/spf13/viper # MIT go get -u -v github.com/gorilla/mux # BSD-3-Clause go get -u -v gopkg.in/gomail.v2 # MIT go get -u -v github.com/rs/cors # MIT go get -u -v golang.org/x/net/html/charset # Go License (aka BSD-3-Clause?) go get -u -v github.com/golang/snappy # BSD-3-Clause go get -u -v github.com/jonas-p/go-shp # MIT go get -u -v github.com/robfig/cron # MIT ## list of additional licenses that get fetched and installed as dependencies # github.com/fsnotify/fsnotify/ BSD-3-Clause # github.com/hashicorp/hcl/ MPL-2.0 # github.com/magiconair/properties/ BSD-2-Clause # github.com/mitchellh/go-homedir/ MIT # github.com/mitchellh/mapstructure MIT # github.com/pelletier/go-toml/ MIT # github.com/pkg/errors BSD-2-Clause # github.com/spf13/afero/ Apache 2.0 # github.com/spf13/cast MIT # github.com/spf13/jwalterweatherman MIT # gopkg.in/yaml.v2/#