hasura-bot
4c7599566d
cli: remove metadata.yaml from migrations directory after update-config-v2 script ( fixes #6112 )
...
GITHUB_PR_NUMBER: 6121
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6121
Co-authored-by: Kali Vara Purushotham Santhati <72007599+purush7@users.noreply.github.com>
GitOrigin-RevId: 79836c5fa0c325f0b74d97b24616476c3a56df79
2021-02-18 10:48:34 +00:00
Aravind K P
8996bcf70d
cli: use v2 replace_metadata
in config v3
...
GitOrigin-RevId: b0263799a17052195ebf295516c3105c5c80ce74
2021-02-18 05:37:46 +00:00
Aravind K P
cb029c317b
cli: refactor datasource -> database
...
GitOrigin-RevId: 89bb1fbac0848d833678e33e98b5d558917c13ea
2021-02-17 12:52:37 +00:00
Aravind K P
e514ea70ee
cli: add api middleware to check if project update is required
...
GitOrigin-RevId: 0ced06bc71ae2dd8c26bb98082a939d6b3e7c613
2021-02-17 11:16:22 +00:00
Aravind K P
a0995d1b30
cli: add client package, statestore implementations, deprecate config v1
...
GitOrigin-RevId: 5a1d9cb772ac62603f2543bfe6c01a95c0a035c6
2021-02-17 04:21:11 +00:00
Aravind K P
8ec92cc198
cli: config v3 project metadata directory
...
GitOrigin-RevId: c2dce9ca1f37688eecb7eb78c97944ac96d81d54
2021-02-16 06:26:24 +00:00
Aravind K P
3d5b30ce01
cli: fix metadata export behavior of config v2 with a v3 metadata server
...
GitOrigin-RevId: 76d1d01cee55f950cba3184dd57655c922a8d011
2021-02-15 15:15:44 +00:00
Aleksandra Sikora
b4fd2e3f9f
console and cli: run console in CLI mode for tests, misc CLI fixes ( #368 )
...
GitOrigin-RevId: 4563444387a4c9d02b5429729fe30bc87763288f
2021-01-20 20:18:44 +00:00
Aleksandra Sikora
e2c274570f
cli: add Hasura-Internal-Request-Source to allowed headers
...
GitOrigin-RevId: 19e96852b02066ab6119e2cded21ce9518d4c1a0
2021-01-20 13:55:34 +00:00
hasura-bot
a398d3b190
cli: support datasources
...
GITHUB_PR_NUMBER: 6111
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6111
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 1f6517acfacb58c566bb5e48f74ea0dfa5c6f063
2021-01-18 17:12:09 +00:00
Kali Vara Purushotham Santhati
7cefefabd1
support for set table customization
...
squash support for set table customization
closes #153
GitOrigin-RevId: c4720e526c6415191c790615144f5de377c635f3
2020-12-28 05:37:36 +00:00
hasura-bot
a18cd6b1bc
cli: fix action timeout not being picked up in metadata operations ( close #6220 )
...
GITHUB_PR_NUMBER: 6354
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6354
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 9869712d496d8e0733f9b25d44962e9a978ebc24
2020-12-24 05:07:26 +00:00
Kali Vara Purushotham Santhati
2acad94fb1
cli: misc fixes
...
GitOrigin-RevId: 9aa0d4b162dc41869bbc5d77cdba727e9f3becb9
2020-11-24 06:12:24 +00:00
hasura-bot
2f7f2eb32d
cli: force update local plugin index ( close #6219 ) ( #70 )
...
Co-authored-by: scriptonist <aravindkp@hasura.io>
GITHUB_PR_NUMBER: 6231
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6231
Co-authored-by: scriptonist <aravindkp@hasura.io>
GitOrigin-RevId: c34d88b64fe8ad34ae23692a6513f1e7ca7c571a
2020-11-20 07:59:58 +00:00
Robert
1477ada1bb
cli: update promptui dependency ( #51 )
...
* gofmt
* cli: Update promptui to v0.8.0
This is in order to avoid the dependency on the abandoned
kingping.v3-unstable, which was causing dependency conflicts
compiling the pro/cli securelink code.
GitOrigin-RevId: 1264a86ca31b15b2a48c375cd123977084ac558e
2020-11-18 13:36:24 +00:00
Vishnu Bharathi P
58c44f55dd
Merge oss/master onto mono/main
...
GitOrigin-RevId: 1c8c4d60e033c8a0bc8b2beed24c5bceb7d4bcc8
2020-11-12 22:37:19 +05:30
Vishnu Bharathi P
666058ab7f
oss: renames dot files and folders
...
GitOrigin-RevId: 540aeec3be091e1cfb7b05a988f50445534ed663
2020-11-12 22:37:19 +05:30
Saran Balaji
b5db6c2019
cli: fix lint errors in scripts_update_config_v2.go ( #5983 )
...
https://github.com/hasura/graphql-engine/pull/5983
2020-11-07 10:07:53 +00:00
Aravind K P
4e4e3f3fd3
cli (cli-migrations image): fix problems running cli-migrations-v2 image as a non root user ( close #4651 close #5333 ) ( #5306 )
...
https://github.com/hasura/graphql-engine/pull/5306
2020-11-06 14:09:53 +00:00
Aravind K P
01c4cd2ff3
cli: do not clear metadata during metadata apply ( close #6115 ) ( #6119 )
...
https://github.com/hasura/graphql-engine/pull/6119
2020-11-06 08:51:10 +00:00
Brian Pedersen
d2d0a05901
cli: fix lint errors in migrate/cmd/commands.go ( #5946 )
...
https://github.com/hasura/graphql-engine/pull/5946
2020-10-30 09:12:18 +00:00
Amarnath Karthi
d6d0b99a3c
cli: fix lint errors for /ci/migrate/util.go ( #5912 )
...
https://github.com/hasura/graphql-engine/pull/5912
2020-10-29 07:08:12 +00:00
Ayan Banerjee
fd36bd1492
cli: fix lint issues for v2/integration_test/seeds.go ( #5954 )
...
https://github.com/hasura/graphql-engine/pull/5954
2020-10-29 06:13:53 +00:00
Vladyslav Nekriach
989832cfb5
fix linting in cli/source/stub/stub_test.go ( #5972 )
...
https://github.com/hasura/graphql-engine/pull/5972
2020-10-29 05:42:05 +00:00
Daniel Shuy
c5ca59208e
cli: fix lint errors in cli/commands/init.go ( #5943 )
...
https://github.com/hasura/graphql-engine/pull/5943
2020-10-29 05:09:36 +00:00
Panagiotis Vasilopoulos
ebe6990c45
cli: fixed lint error ( #5877 )
...
https://github.com/hasura/graphql-engine/pull/5877
2020-10-28 04:18:48 +00:00
Sam Radhakrishnan
ee940b4a84
cli: fix linter errors ( #5870 )
...
https://github.com/hasura/graphql-engine/pull/5870
2020-10-22 08:08:14 +00:00
Arun Mathew
ebc3e15198
cli: fix lint errors in metadata/actions/actions.go ( #5910 )
...
https://github.com/hasura/graphql-engine/pull/5910
2020-10-22 07:36:37 +00:00
Yash Saravgi
72b1d01ca7
cli: fix lint error in commands\docs.go ( #5929 )
...
https://github.com/hasura/graphql-engine/pull/5929
2020-10-22 07:05:32 +00:00
Aditya Vats
9332521f95
cli: fix lint errors in cli/util/git.go ( fix #5831 ) ( #5932 )
...
https://github.com/hasura/graphql-engine/pull/5932
2020-10-22 06:35:05 +00:00
Ahmed Kamal
d3abb474e5
cli: change 'hasura seeds' to 'hasura seed' with 'seeds' as alias ( #5693 )
...
https://github.com/hasura/graphql-engine/pull/5693
2020-10-07 09:26:30 +00:00
Nuno Pato
c348ea7a9d
cli: allow for schema specification when using hasura seeds create ( close #5711 ) ( #5710 )
...
https://github.com/hasura/graphql-engine/pull/5710
2020-10-01 13:05:36 +00:00
Marion Schleifer
2358f6bbae
cli/docs: add missing global flags for seeds command and add new cli commands to docs ( #5565 )
2020-08-18 17:59:58 +05:30
slimlime
684c25b14b
docs: update bash_completion directory typo ( #5418 )
2020-08-18 10:12:58 +02:00
Sameer Kolhar
963e1106dc
cli: fix error while creating seed file from table names having upper case alphabets ( #5549 )
2020-08-10 11:28:03 +05:30
Aravind
2592236858
cli: improve error messages for metadata apply ( close #5513 ) ( #5548 )
2020-08-10 10:54:00 +05:30
Aravind
96f6bdd531
cli: support squashing actions in config v1 ( #5249 )
2020-07-27 07:15:43 +05:30
Aravind
2e5e59bd00
cli: handle failed update checks gracefully ( close #5392 ) ( #5403 )
2020-07-27 07:15:08 +05:30
Aravind
cd0e2ec8e8
cli: fix permission issues when creating symlinks on windows, misc fix ( close #5111 , close #4879 ) ( #5164 )
2020-07-03 09:49:09 +05:30
Darío Javier Cravero
f6d111ccd9
cli: allow setting the release to get in cli/get.sh ( #4348 )
2020-06-25 17:56:53 +02:00
Aravind
1aa05624a8
cli: support squashing migrations with cron triggers (squash V1) ( #5165 )
2020-06-24 19:50:20 +05:30
Aravind
6486a4f0ec
cli: when applying metadata, assume empty metadata plugin files if they don't exist ( close #5163 ) ( #5170 )
2020-06-24 16:08:48 +05:30
Aravind
1f2037947d
cli: manage seed migrations as sql files ( close #2431 ) ( #3763 )
2020-06-16 17:45:04 +05:30
Aravind
5a648a9bb2
cli: fix cron triggers not being exported on a metadata export ( close #5047 ) ( #5060 )
2020-06-16 14:38:36 +05:30
Aravind
d7ca702542
cli: support squashing migrations with remote joins ( close #4908 ) ( #4924 )
2020-06-16 12:10:20 +05:30
Sameer Kolhar
13e4edbdf8
cli: add flags --up-sql and --down-sql to migrate create command ( close #5026 ) ( #5039 )
2020-06-16 11:30:20 +05:30
Ashish Rao
d9cc676790
cli: add --dry-run flag to migrate apply command ( close #3128 ) ( #3499 )
2020-06-03 16:49:36 +05:30
Aravind
177556f441
cli: fix tests failing in local dev environment ( #4729 )
2020-06-03 14:01:40 +05:30
Aravind
daf098886b
cli: fix bug with squashing event triggers ( close #4883 ) ( #4949 )
2020-06-03 12:13:05 +05:30
Aravind
edbd9c4f48
cli: load assets from server if cdn is disabled ( close #3382 ) ( #3851 )
2020-06-03 09:36:23 +05:30
Aravind Shankar
16d01bc908
cli: add support for skipping execution while generating migrations through the migrate REST API ( #4475 )
2020-06-02 10:41:47 +05:30
scriptonist
b771956336
cli: fix update scripts failing when sql migrations files are already present
2020-05-26 08:46:36 +05:30
Aravind
f1c3b43f6f
cli: fix docs failing to build ( close #4637 ) ( #4698 )
2020-05-07 13:03:50 +05:30
Can Taşpınar
9d815598cc
cli: include new commands in help text ( fix #4623 ) ( #4626 )
2020-05-05 09:21:20 +05:30
Shraddha Agrawal
88685736c7
Merge branch 'master' into init-current-directory
2020-04-28 18:35:00 +05:30
Shraddha Agrawal
d95d6378e8
cli: add support for servers with self-signed certs ( fix #4564 ) ( #4582 )
...
Co-Authored-By: Marion Schleifer <marion@hasura.io>
2020-04-28 17:29:57 +05:30
Shraddha Agrawal
f7b99b53e4
minor fixes
2020-04-27 13:26:34 +05:30
Shraddha Agrawal
d5ae48c14e
update help text and docs for init command
2020-04-27 10:03:10 +05:30
Shraddha Agrawal
e9cad694ed
validate pwd is neither filesystem root nor an existing hasura project
2020-04-27 09:04:32 +05:30
Shraddha Agrawal
3053af1055
cli: allow initialising project in current directory
2020-04-26 22:24:48 +05:30
Shraddha Agrawal
38529b3960
cli: remove irrelevant flags from init command ( close #4508 ) ( #4549 )
2020-04-25 11:33:13 +05:30
Shraddha Agrawal
e07761eb33
cli: validate endpoint using ParseRequestURI ( fix #4407 ) ( #4416 )
2020-04-23 08:40:24 +05:30
Shraddha Agrawal
75d35ac2f6
cli: add suport for .env file ( fix #4129 ) ( #4454 )
2020-04-23 08:17:51 +05:30
Aravind Shankar
455b78552d
cli(test): refactor integration test metadata directory ( #4491 )
2020-04-22 16:58:02 +05:30
Aravind Shankar
2a693be553
cli(test): fix cli init test to use initDir from subtest group ( #4490 )
2020-04-22 15:54:24 +05:30
Aravind Shankar
2ee6328d0d
cli: add check_metadata_consistency for v2 workflow migrations ( #4392 )
2020-04-22 15:52:02 +05:30
Aravind Shankar
aca11f0944
cli: spinner bug, add cli_environment in global config ( #4459 )
...
close #4456
close #4436
close #4496
2020-04-22 14:45:42 +05:30
Rishichandra Wawhal
8a5cc73ae6
cli, console: actions dx improvements ( close #4306 , #4311 ) ( #4308 )
2020-04-16 13:40:47 +05:30
Aravind Shankar
5081a2969f
cli: update makefile to set plugins branch ref ( #4421 )
2020-04-16 06:54:50 +05:30
Aravind
f073243283
cli: add hasura-collaborator-token and hasura-client-name to allowed headers ( #4414 )
2020-04-15 19:08:31 +05:30
Aravind Shankar
1ada6627b0
ci: add tests for cli-migrations image ( #4396 )
...
- Created new job test_and_build_cli_migrations which runs after test_and_build_cli
- Build the cli-migrations and cli-migrations-v2 and save the images as tar image.
- Run the test defined in each workflow v1 and v2.
- Load the image that was built earlier in deploy step
2020-04-15 07:26:00 +05:30
Aravind Shankar
21a4dff993
cli(squash): add set_table_is_enum metadata type ( close #4394 ) ( #4395 )
2020-04-14 16:39:41 +05:30
Shraddha Agrawal
a1796c2c9f
cli: update docs to remove realize specific instructions ( #4398 )
2020-04-14 08:42:53 +05:30
Rishichandra Wawhal
9b66724b41
console, cli, cli-ext: query support for actions ( close #4032 ) ( #4318 )
...
Co-authored-by: Aravind Shankar <aravind@hasura.io>
2020-04-13 15:51:53 +05:30
Aravind Shankar
491a50b1e9
cli: link cli-ext plugin with cli version ( close #4105 ) ( #4280 )
2020-04-13 08:46:06 +05:30
Aravind Shankar
53e4f994d2
cli: event trigger retry_conf support to squash ( close #4296 ) ( #4324 )
2020-04-10 08:22:41 +05:30
Aravind
14b5d10dfb
cli: refactor ec to allow setting hge api headers ( #4347 )
2020-04-09 15:00:47 +05:30
Aravind
e1b0562fd8
cli: clarify flags on migrate create ( #4316 )
2020-04-09 14:35:05 +05:30
Aravind Shankar
995e198d0a
cli: show env vars for the flags in command help ( close #4263 ) ( #4326 )
2020-04-08 17:25:42 +05:30
Aravind Shankar
21b61af109
cli: allow customization of server api paths ( close #4016 ) ( #4174 )
2020-04-08 16:29:21 +05:30
Aravind Shankar
325771e406
cli: remove migration files if api returns error ( close #4312 ) ( #4319 )
...
When using console from CLI and a migration is created, the files are written first and an API call is made to Hasura to execute that migration. There was a bug which caused this file to remain when the API call to Hasura failed. This commit fixes the bug by deleting the files if Hasura API call fails and propagates the error to console.
2020-04-08 10:54:47 +05:30
Aravind Shankar
d5e61716f8
cli: add support for multiple versions of plugin ( close #4105 ) ( #4135 )
2020-04-07 19:42:14 +05:30
Aravind Shankar
d0870a85f8
cli: update makefile to include pkger ( #4320 )
2020-04-07 18:35:00 +05:30
Aravind
de41438e8a
cli: refactor console command ( #4150 )
2020-04-07 14:53:20 +05:30
Rishichandra Wawhal
f75e4e6ad0
cli: add assetsPath in unversioned console html ( close #4274 ) ( #4275 )
2020-04-03 09:04:49 +05:30
Aravind Shankar
09e0e2f2a5
cli: fix init command to generate correct config ( fix #4036 ) ( #4038 )
2020-03-26 08:54:05 +05:30
Aravind Shankar
13e8a3c010
cli: send command path in telemetry data ( #4095 )
2020-03-26 08:38:54 +05:30
Aravind Shankar
41757b5f7f
cli: fix parse error returned on console api ( close #4126 ) ( #4152 )
2020-03-25 16:12:39 +05:30
Dmitry Minkovsky
b6780e8a15
cli: fix typo in cli example for squash ( fix #4047 ) ( #4049 )
2020-03-09 15:19:00 +05:30
Shahidh K Muhammed
d7d53f222c
cli: add version flag in update-cli command ( #3996 )
...
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2020-03-05 12:25:33 +05:30
Aravind Shankar
45bcb6b536
cli, server: use prerelease tag as channel for console assets cdn ( #3975 )
...
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2020-03-04 20:10:47 +05:30
Aravind Shankar
e3b843ce81
cli: fix flags in actions, migrate and metadata cmd ( fix #3982 ) ( #3991 )
2020-03-03 12:36:59 +05:30
Aravind Shankar
28941b4eef
cli(actions): preserve action definition in metadata apply (fix… ( #3993 )
2020-03-03 12:36:07 +05:30
Praveen Durairaju
865b150c82
noop: replace subdomain links with subpath ( #3869 )
...
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
2020-02-27 15:43:07 +05:30
Aravind Shankar
21e6dd7759
cli: bug fixes related to actions ( #3951 )
2020-02-25 20:28:28 +05:30
Aravind Shankar
89b6ce86ca
cli: misc fixes related to actions ( #3942 )
2020-02-25 12:16:11 +05:30
Aravind Shankar
bb63d7e60e
cli: allow managing actions ( #3859 )
...
Co-authored-by: Rishichandra Wawhal <rishichandra.wawhal@gmail.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Aravind <aravindkp@outlook.in>
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com>
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2020-02-24 21:44:46 +05:30
Rikin Kachhia
b0d180efa2
docs: use install manifests from stable branch ( #3906 )
...
* update docs install manifests to use stable branch
* change the link to master at some more places
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2020-02-19 17:13:08 +05:30
Karthikeyan Chinnakonda
441c0a2452
cli: update installation instructions in the readme ( fix #3875 ) ( #3876 )
...
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2020-02-13 12:54:36 +05:30
Aravind
c258fa75cb
cli: add --goto flag in hasura migrate apply ( close #2689 ) ( #3715 )
...
* cli: add --goto <version> flag to migrate command
* cli: fix error encoutered in goto, when on version -1
* do down migrations one step down
* reorganize code
* in case of up "gotos" make sure that all previous migration in migration chain are applied
* modify readUp and readDown functions to account for --goto use case
* refactor to clean up and adopt a better implementation addressing the comments
* remove empty error handling step
* return ErrNoChange when no migrations were applied
* respect m.stop() can panic so place conditional cases after that and add a couple other small fixes
* fix bug caused by early checking of versions
* fix to add migration_mode and nil version check
* add some more examples for migrate apply command
Co-authored-by: Aravind Shankar <face11301@gmail.com>
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2020-02-03 12:33:32 +05:30