Shahidh K Muhammed
ac004fec38
validate the directory before executing migrate create ( fix #585 ) ( #586 )
2018-10-01 15:42:12 +05:30
Shahidh K Muhammed
848dfce4a5
update cli docs ( #561 )
2018-09-28 12:57:10 +05:30
Shahidh K Muhammed
330f90de40
add project flag, change persistentprerun to prerun ( close #552 ) ( #557 )
...
### Description
Adds `--project` flag to the CLI and changes all `PersistentPreRuns` to `PreRuns`
What component does this PR affect?
- [ ] Server
- [ ] Console
- [x] CLI
- [ ] Docs
- [ ] Community Content
- [ ] Build System
### Related Issue
#552
2018-09-27 19:27:17 +05:30
Maxim Makarov
0fc4ebf09a
fix typos in metadata command ( #493 )
2018-09-20 07:00:37 +05:30
Shahidh K Muhammed
5929ec5be3
add installation manifests ( #432 )
2018-09-13 15:03:13 +05:30
Aravind Shankar
9c7c650d2b
migration apply should not fail if there are no migrations ( close #389 ) ( #390 )
2018-09-10 18:51:30 +05:30
Tirumarai Selvan
82e09efce6
add event triggers ( #329 )
2018-09-05 16:56:46 +05:30
Aravind Shankar
ea9b187e7c
update tests to use access key ( close #113 ) ( #296 )
...
Closes #113
2018-08-30 21:24:12 +05:30
Shahidh K Muhammed
fc9104f0c9
compare only major and minor versions for cli-server ( fix #331 ) ( #332 )
2018-08-30 16:14:07 +05:30
Aravind Shankar
396a2ccf8d
change hasuradb url format, export some migrate functions ( #294 )
...
* fix migrate to use headers in query params
* export executeMigrations and PrintStatus
2018-08-22 00:07:47 +05:30
Shahidh K Muhammed
0ed3ff6418
remove manifests directory from init ( close #254 ) ( #258 )
2018-08-06 17:03:17 +05:30
Shahidh
80db149cbd
fix typo in godoc link
2018-07-21 00:37:40 +05:30
Shahidh
7980012e1d
update md files
2018-07-21 00:35:51 +05:30
Shahidh K Muhammed
dec39a10ba
create statically linked binaries for cli ( close #175 ) ( #179 )
...
[skip ci]
2018-07-20 16:30:25 +05:30
Aravind Shankar
75dbe35a21
create down migrations for actions from console ( close #164 ) ( #173 )
2018-07-20 16:01:33 +05:30
Shahidh K Muhammed
9c848e2b94
add option to serve console assets from a local directory ( #145 )
...
* add option to serve console assets from a local directory
* remove /console prefix
* update gin context only if static dir is present
2018-07-18 16:22:07 +05:30
Aravind Shankar
5985bf8e9e
deploy script enhancements ( #124 )
2018-07-17 22:30:26 +05:30
Shahidh K Muhammed
24c13c04d4
readme updates ( #149 )
...
* Update README.md
fix discord link.
* update cli readme and contributing guide
2018-07-17 18:32:33 +05:30
Aravind Shankar
80c1994dc2
inserts into schema_migration only once per version ( fix #127 ) ( #128 )
2018-07-12 19:54:46 +05:30
Aravind Shankar
6a20784b95
move metadata.yml file inside migrations folder, fix #122 ( #125 )
...
metadata.yaml will be present inside migrations folder
2018-07-12 18:22:25 +05:30
Aravind Shankar
268f0856d0
go vet cli code ( #110 )
2018-07-11 17:43:31 +05:30
Aravind Shankar
186340c156
fix #96 , when access-key is set, cli should use it to contact api ( #100 )
2018-07-11 14:58:53 +05:30
Aravind Shankar
5b02dee7d2
close #44 , replace goyaml with ghodss/yaml ( #101 )
2018-07-11 14:54:13 +05:30
Aravind Shankar
5e14c293f2
close #102 , unexport ParsedEndpoint in config ( #103 )
2018-07-11 14:52:36 +05:30
Shahidh K Muhammed
83ab85fb04
update readme and contributing guides ( #90 )
2018-07-11 10:27:03 +05:30
Shahidh K Muhammed
50165fc1ed
circleci integration ( #74 )
2018-07-10 10:01:02 +00:00
Aravind Shankar
1bff452cb4
handle server endpoints that contains a url path ( #64 )
2018-07-09 19:17:38 +05:30
Aravind Shankar
1998e211af
cli: update tests ( #47 )
...
* remove docker from migrate cmd test
* export migration status
* [cli] add fake writer for spinner
* Update console.go
* Update migrate_test.go
2018-07-06 10:36:27 +05:30
Shahidh K Muhammed
06fd236068
cli: close #38 handle server, cli and console versions ( #43 )
2018-07-04 18:13:52 +05:30
shahidhk
8beedc5387
cli: rename console assets folder
2018-07-03 22:56:57 +05:30
Shahidh K Muhammed
98c827449b
build: integrate circleci
...
integration with circleci for various workflows
2018-07-03 22:40:13 +05:30
Shahidh K Muhammed
e0a4ee88fe
cli: updates to support console versioning etc ( #30 )
...
* cli: fix version command and makefile
* cli: update console asset versioning format
* cli: change .realize from dir to file
* cli: update dependencies
2018-07-03 14:54:46 +05:30
Shahidh K Muhammed
6170d6b094
cli: add circleci config for cli ( #26 )
2018-06-29 13:09:21 +00:00
Praveen Durairaj
c93fe93138
cli: update console asset url ( #25 )
2018-06-29 17:31:39 +05:30
Aravind Shankar
260d565e6e
cli: tests for metadata commands ( #18 )
...
* [cli] added urlPrefix, consoleMode
* [cli] fix: down=all should throw error if down migration is missing
* [cli] added tests for metadata
2018-06-29 15:32:33 +05:30
shahidhk
c0bf346d60
[cli] fix tests
2018-06-28 14:14:01 +05:30
Aravind Shankar
59dd23cd17
[migrate status] fix: no migration files message when there are no migration files ( #1 )
...
```
$ hasura migrate status
VERSION SOURCE STATUS DATABASE STATUS
```
2018-06-28 14:08:47 +05:30
Aravind Shankar
048c067fa1
[cli] add tests for migrate commands ( #9 )
2018-06-28 14:06:57 +05:30
Shahidh K Muhammed
6d0d75fbe3
[cli] add comments ( #4 )
...
Especially for godoc
2018-06-28 14:06:25 +05:30
shahidhk
5dc47d2ff5
[cli] commit realize, update docs
2018-06-28 11:35:34 +05:30
Shahidh K Muhammed
776c550654
[cli] add docs and build tools ( #3 )
...
Includes version command and makefile integration along with docs command
2018-06-28 11:10:18 +05:30
Shahidh K Muhammed
24b656b282
[cli] add tests for some packages ( #2 )
2018-06-27 17:34:09 +05:30
Shahidh
8e41d75aa3
refactor most of the code
2018-06-26 21:39:32 +05:30
Shahidh
f7409ef2eb
add hasura cli package
2018-06-24 19:10:48 +05:30