-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Tracker for first PyPI release #26
Comments
+ Added `git` initialisation hooks in the template to automatically initialise a `git repository` when a `generated project` is created by `cookiecutter`. + Added a default `main` branch parameter for git repository initialisation. Subtask - #26
@Saransh-cpp @agriyakhetarpal @arjxn-py I looked into
I think that is mostly the gist of the copier migration/support, I would prefer we completely move to |
Thanks for sharing your thoughts, @santacodes. I agree that while migrating to Regarding the hooks, I think many of them are supported through extensions for |
Looking at this issue, |
## Additions + Added a basic `cli` with an optional `--path` argument defining the path generated project should reside within. + Added basic documentation for `cli` usage in `cli.py` and `README.md`. ## Removals - Removed `models`, `entry points`, and `parameter sets` from the project as they are now populated in the template. - Removed the `project-tests` from `noxfile` and updated workflow to only test the template. - Removed the entry points from `pyproject.toml` and `pybamm` as a dependency in the project. ## Usage To test this, check out this branch and inside the repository and do a local `pipx` installation on your machine. ```bash git clone https://github.com/santacodes/pybamm-cookiecutter -b cli cd pybamm-cookiecutter/ pipx install . ``` After installation, the `CLI` will be available systemwide and can be accessed using the `pybamm-cookiecutter` command. For help references add the `-h` or `--help` flag, e.g. `pybamm-cookiecutter --help` which would prompt with all the available arguments. Sub-task #26 --------- Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
Changed all instances of `pybamm-cookiecutter` to `pybamm-cookie`. #26 --------- Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
@Saransh-cpp @agriyakhetarpal @arjxn-py Do we need example notebooks for this project? I think it was discussed previously in one of the meetings and I added it to this tracker list. |
I feel an example notebook would be nice to showcase since it would give people an idea of how to add docs and integrate MyST-NB with their project. However, I don't think it is a blocker for the first release, and it can be picked up anytime. |
Looking at the tracker, all we have left is a logo (nice-to-have) and a publishing workflow (needed). You can set up an environment in the repository, and create a project named |
Sure that sounds good! |
Sorry I have been disconnected these past to weeks. All the progress looks amazing, well done! |
Now that the first (and second) releases are up on PyPI, we should be in a safe position to close this. Thanks, @santacodes! |
Overview
This issue tracks all the tasks that need to be checked before the first PyPI release for the
pybamm-cookie
template.Tasks
Migrations
entry points
, for bothparameter_sets
andmodels
. Migrated entry points #27tests
specifically to be shipped to the user inside the template, i.e. theentry points
tests and an example test file for the users to add test cases. Added new test infrastructure #29models
¶meter_sets
included in the project, i.e.SPM
andChen2020
. Migrated entry points #27nox-sessions
that are not present in the template. They would be -unit tests
(yet to be separated),coverage
anddev
session. Added new test infrastructure #29test_on_push
CI to the template. Added new test infrastructure #29Features
nox sessions
for tests for project and tests for template. Added new test infrastructure #29CI
for tests for project and tests for template. Added new test infrastructure #29example notebooks
for usingpybamm-cookie
template and entry points.reservoir model
. Added Basic Reservoir Model #30git init
while project generation using the template. Could be referred here. Added Git Initialisation Hooks #32 ---> Migrated to copier #34Dependabot
for CI. AddedDependabot
#28copier
. Migrated to copier #34copier
. Addedpybamm-cookiecutter
CLI #36setuptools
backend. Added basicsetuptools
config in template and tests forbuild-backends
#37gitlab-ci.yml
.Misc
pybamm-cookie
Changed project namepybamm-cookiecutter
->pybamm-cookie
#46README.md
#47PS
If there is something else to add or is missing, please feel free to edit this comment and append it.
The text was updated successfully, but these errors were encountered: