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

feat: Make downloaded filenames consistent between runs #38

Merged

Conversation

felixthebeard
Copy link
Contributor

The downloaded filenames change between multiple runs which make it hard
to track changes.
This will make them consistent by prefixing a the hashed url-path to the
filename. Using just the filename would not work if a notion page
contains e.g. two different images with the same filename.

The downloaded filenames change between multiple runs which make it hard
to track changes.
This will make them consistent by prefixing a the hashed url-path to the
filename. Using just the filename would not work if a notion page
contains e.g. two different images with the same filename.
@echo724 echo724 marked this pull request as ready for review October 14, 2022 05:06
@echo724 echo724 changed the title Make downloaded filenames consistent between runs feat: Make downloaded filenames consistent between runs Oct 14, 2022
@echo724 echo724 merged commit 30e8f0b into echo724:main Oct 14, 2022
@echo724
Copy link
Owner

echo724 commented Oct 14, 2022

Thank you for your contribution on the notion2md!! I was busy so it took some time for me to review this. I approved and merged this to the main branch of the notion2md. Again, Thank you for your interest on the Notion2md

github-actions bot pushed a commit that referenced this pull request Oct 14, 2022
## [2.8.0](v2.7.6...v2.8.0) (2022-10-14)

### Features

* Make downloaded filenames consistent between runs ([#38](#38)) ([30e8f0b](30e8f0b))

### Bug Fixes

* Fixed [#40](#40) due to the update of Notion API ([#42](#42)) ([1a63351](1a63351))
@github-actions
Copy link

🎉 This issue has been resolved in version 2.8.0 🎉

The release is available on PyPI and GitHub.

YouXam pushed a commit to YouXam/notion2md that referenced this pull request Nov 3, 2023
The downloaded filenames change between multiple runs which make it hard
to track changes.
This will make them consistent by prefixing a the hashed url-path to the
filename. Using just the filename would not work if a notion page
contains e.g. two different images with the same filename.

Co-authored-by: Felix <fkunzweiler@xps-felix.fritz.box>
YouXam pushed a commit to YouXam/notion2md that referenced this pull request Nov 3, 2023
## [2.8.0](echo724/notion2md@v2.7.6...v2.8.0) (2022-10-14)

### Features

* Make downloaded filenames consistent between runs ([echo724#38](echo724#38)) ([30e8f0b](echo724@30e8f0b))

### Bug Fixes

* Fixed [echo724#40](echo724#40) due to the update of Notion API ([echo724#42](echo724#42)) ([1a63351](echo724@1a63351))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants