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

Feature: add publish sub-command #292

Merged
merged 4 commits into from
Jun 4, 2024
Merged

Feature: add publish sub-command #292

merged 4 commits into from
Jun 4, 2024

Conversation

Guts
Copy link
Owner

@Guts Guts commented Jun 4, 2024

Typical workflow:

  1. Generate metadata from your source dataset:

    dicogis-cli inventory --pg-services my_pg_service_name --output-format udata --output-path to_be_published_to_udata
  2. Get your API key from your targetted udata instance and set it as environment variable DICOGIS_UDATA_API_KEY, the instance API URL as DICOGIS_UDATA_API_URL_BASE and optionally the API version as DICOGIS_UDATA_API_VERSION

  3. Publish the entire folder to your udata instance:

    dicogis-cli publish --input-folder to_be_published_to_udata

@github-actions github-actions bot added enhancement New feature or request dependencies Pull requests that update a dependency file CLI Command Line Interface quality labels Jun 4, 2024
@Guts Guts enabled auto-merge June 4, 2024 22:48
Copy link

sonarcloud bot commented Jun 4, 2024

Quality Gate Passed Quality Gate passed

Issues
5 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Guts Guts merged commit 5f5f4a8 into master Jun 4, 2024
7 checks passed
@Guts Guts deleted the feature/add-subcmd-publish branch June 4, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Command Line Interface dependencies Pull requests that update a dependency file enhancement New feature or request quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant