- Clone the project
This project uses Dev Containers to set up the development environment. Open the project in VS Code and use the Dev Containers extension to open the project in the dev container. Upon completion, the dependencies should already be installed and you should be able to run the application using the next steps.
Note there may be some UI style quirks as this is running using X11 in a container but there shouldn't be any groundbreaking differences.
pdm ytmusic-deleterto run the CLIpdm guito run the GUI
- See README.md
cp tests/resources/test.example.cfg tests/resources/test.cfgwget --content-disposition -P tests/resources/ "https://drive.google.com/uc?export=download&id=18AP7mQqQxqj2_delNyhoCNa6UCUCN9-P"- This will download the sample mp3 for upload tests
- Copy
browser.jsonfrom app data directory intotests/resources pdm run pytestor use VS Code Testing tab- Any commit that touches the CLI (i.e. anything in ytmusic_deleter/) will automatically trigger the Pytest action on GitHub.
- Run "Create Tag" to tag a new release from
main- This will trigger "Release and Publish" on the tag which will:
- Build and verify the Windows, Linux, and Mac installers
- Build the PyPI distributable for the CLI version
- Publish the dist to PyPI
- Draft a new GitHub Release
- NOT run Pytest because the HEAD commit should have already passed Pytest
- This will trigger "Release and Publish" on the tag which will:
- To build a test release for a branch:
- Run "Release and Publish" on the branch
- Select "Skip" for "Skip publishing this release to PyPI?"
- Once a week, "Update dependencies" will create a PR for any new PDM dependencies
- This includes new versions of
ytmusicapiwhich is important. - Close/re-open the PR to trigger the GitHub Actions checks
- This includes new versions of
Qt Designer is how the UI dialogs are created.
pdm designer- After updating .ui resource file...
pdm generate