Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keymap sync command #666

Open
sirex opened this issue Jun 26, 2024 · 0 comments · Fixed by #968
Open

Add keymap sync command #666

sirex opened this issue Jun 26, 2024 · 0 comments · Fixed by #968

Comments

@sirex
Copy link
Collaborator

sirex commented Jun 26, 2024

Add new command:

spinta keymap sync manifest.csv -i get.data.gov.lt

Which would go through all models, that do not have resource specified and sync from specified input source. Input source in the example would be get.data.gov.lt.

Input source name, should be defined in credentials.cfg file as it is done for spinta push.

Add same arguments as in push command:

  • manifests - list of manifest files
  • -i, --input - input source file (push has -o, --output)
  • --credentials - location of credentials.cfg file
  • -d, --dataset - sync only specified dataset
  • --dry-run - don'w rite data to keymap, but do everything else, that does not changes anything

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants