Skip to content

Conversation

@JOJ0
Copy link
Contributor

@JOJ0 JOJ0 commented Feb 1, 2025

Fixes: #161

@JOJ0
Copy link
Contributor Author

JOJ0 commented Feb 4, 2025

Yo @AnssiAhola, I'm desperately trying to test a new feature and fail to mock this api: https://www.discogs.com/developers#page:user-collection,header:user-collection-change-rating-of-release

Help! I left some debug messages in the models code as well as in the test. If you happen to find the time to check this out, that would be awesome. Thanks!!!!

Copy link
Contributor Author

@JOJ0 JOJ0 left a comment

Choose a reason for hiding this comment

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

Some inline comments so you understand what I'm thinking. Thanks!!!

Allows info boxes with a syntax like this

:::{note}
Box contents
:::
@JOJ0 JOJ0 force-pushed the foldermove branch 3 times, most recently from e69b578 to 9a0b235 Compare February 10, 2025 16:40
to include the new move_release and uncategorize_release methods but
also clarify that remove_release removes from the collection entirely.
@JOJ0 JOJ0 marked this pull request as ready for review February 10, 2025 16:48
@JOJ0
Copy link
Contributor Author

JOJ0 commented Feb 10, 2025

Ready for a final review. Nitpicks on code, docs wording and example-code appreciated! Also I did some slight refactoring in CollectionFolders class for more modern Python and activated a Sphinx-MyST-plugin that allows creating "info boxes", "attention boxes" and so on. You might like that @prcutler :-)

I rendered docs changes for easier reviewing here: https://python3-discogs-client.readthedocs.io/en/foldermove/fetching_data.html#adding-a-release-to-a-collection-folder

Thanks in advance

@prcutler
Copy link
Contributor

Ready for a final review. Nitpicks on code, docs wording and example-code appreciated! Also I did some slight refactoring in CollectionFolders class for more modern Python and activated a Sphinx-MyST-plugin that allows creating "info boxes", "attention boxes" and so on. You might like that @prcutler :-)

I rendered docs changes for easier reviewing here: python3-discogs-client.readthedocs.io/en/foldermove/fetching_data.html#adding-a-release-to-a-collection-folder

Thanks in advance

I do like that! I will make some time and review this tomorrow.

Copy link
Contributor

@prcutler prcutler left a comment

Choose a reason for hiding this comment

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

Everything looks good to me, sorry for the delay.

@JOJ0
Copy link
Contributor Author

JOJ0 commented Feb 17, 2025

@AnssiAhola I suppose no objections on your end since you had a look at the tests and code earlier already. I'll merge and release this now.

On last thing: I see hanging python 3.6 and 3.7 checks. I think we should kick them out. I'll check that now....

@JOJ0
Copy link
Contributor Author

JOJ0 commented Feb 17, 2025

The funny thing is, that 3.6 and 3.7 were not in our build workflow anymore. This looks like a github actions issue and might be temporary. I'll ignore it.

Nevertheless I removed EOL 3.8 and added 3.13 to that workflow in f0d3af2

@JOJ0 JOJ0 merged commit 84d6f44 into master Feb 17, 2025
10 checks passed
@JOJ0 JOJ0 deleted the foldermove branch February 17, 2025 07:12
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Jul 14, 2025
https://build.opensuse.org/request/show/1292513
by user dirkmueller + dimstar_suse
- update to 2.8:
  * New collection folder methods `move_release` and
    `uncategorize_release` allowing to change folder of
    collection items
  * Add Python 3.13 to GitHub Actions build workflow and removed
    EOL Python 3.8
  * Refactor some outdated Python code style along the way in
    joalla/discogs_client#165

- Update to 2.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for instance remove from collection folder

4 participants