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

docs: add testing guidelines and create CONTRIBUTING.md #687

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dsmedia
Copy link
Collaborator

@dsmedia dsmedia commented Feb 22, 2025

Document standardized check commands in README a new CONTRIBUTING.md for local development. This provides a simple interim solution (ahead of astral-sh/uv#5903) for running quality checks that match CI, without introducing additional dependencies. Also adds a minimal development section to README.md that points to the new contributing guidelines. This will focus on technical contribution guidelines.

To do

Closes #685

Document standardized check commands in README for local development.
This provides a simple interim solution for running quality checks
that match CI, without introducing additional dependencies.

Closes #685
@dsmedia dsmedia requested a review from dangotbanned February 22, 2025 19:14
Copy link
Member

@domoritz domoritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Let's move all the contributing docs into a separate file similar to https://github.com/vega/vega/blob/main/CONTRIBUTING.md.

@dsmedia dsmedia marked this pull request as draft February 24, 2025 11:16
@dsmedia
Copy link
Collaborator Author

dsmedia commented Feb 24, 2025

Thanks for the feedback @domoritz! I agree that moving the detailed contributing info to a separate CONTRIBUTING.md would be better, following Vega's main repo structure. I also think altair's contributing guidelines are a great model of clarity.

I've converted this to a draft PR. I'll update it to:

  1. Add a simpler development section to README.md that just points to CONTRIBUTING.md
  2. Create a new CONTRIBUTING.md file with the detailed testing and development guidelines
  3. Update the PR title to reflect the expanded scope

Does that approach sound good?

@dsmedia dsmedia changed the title docs: add testing commands to README docs: add testing guidelines and create CONTRIBUTING.md Feb 24, 2025
@domoritz
Copy link
Member

Excellent

- adds link to CONTRIBUTING.md (forthcoming)
@dsmedia
Copy link
Collaborator Author

dsmedia commented Mar 4, 2025

@dangotbanned I'm updating the readme and would like to concisely capture the distinctions between the canonical datasets, the Altair-adapted version, and the older PyPI package, as well as a bit on the work you're doing to integrate all of this. Would welcome any input!

@dsmedia dsmedia marked this pull request as ready for review March 7, 2025 03:43
@dsmedia dsmedia requested a review from domoritz March 7, 2025 03:44

To make a release, run `npm run release`.
Vega Datasets is maintained by the UW Interactive Data Lab along with a community of contributors. Appreciation is extended to the numerous organizations and individuals who have generously shared their data for use in this collection.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@domoritz Please feel free to make any necessary modifications here if you'd like.


Here is a full example
- **JavaScript/Observable**: Directly import Vega Datasets in Observable. See the [example notebook](https://observablehq.com/@vega/vega-datasets).
- **Python**: Access datasets using the [Vega Datasets Python package](https://github.com/altair-viz/vega_datasets).
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dangotbanned please feel free to modify if you'd like to reference the ongoing work here (and perhaps to note that at present there is not full overlap?)

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

Successfully merging this pull request may close these issues.

Standardized checks
2 participants