Skip to content

finish chunker meta-format before release - #3571

Merged
ncw merged 1 commit into
rclone:masterfrom
ivandeex:metadone-pr
Sep 25, 2019
Merged

ncw merged 1 commit into
rclone:masterfrom
ivandeex:metadone-pr

Conversation

@ivandeex

Copy link
Copy Markdown
Member

What is the purpose of this change?

  • remove GetTier and SetTier
  • remove wdmrcompat metaformat
  • remove fastopen strategy
  • make hash_type option non-advanced
  • adverise hash support when possible
  • add metadata field "ver", run strict checks
  • describe internal behavior in comments
  • improve documentation

note:
wdmrcompat used to write file name in the metadata, so maximum metadata size was 1K
removing this format allows to cap size by 200 bytes now.

Was the change discussed in an issue or in the forum before?

see #3503 (comment)

Checklist

  • I have read the contribution guidelines.
  • I have added tests for all changes in this PR if appropriate.
  • I have added documentation for the changes if appropriate.
  • All commit messages are in house style.
  • I'm done, this Pull Request is ready for review :-)

changes:
- chunker: remove GetTier and SetTier
- remove wdmrcompat metaformat
- remove fastopen strategy
- make hash_type option non-advanced
- adverise hash support when possible
- add metadata field "ver", run strict checks
- describe internal behavior in comments
- improve documentation

note:
wdmrcompat used to write file name in the metadata, so maximum metadata
size was 1K; removing it allows to cap size by 200 bytes now.
@ivandeex

Copy link
Copy Markdown
Member Author

Note: this PR renders some test remotes obsolete, namely TestChunkerChunk3bCompatLocal and TestChunkerCompatLocal

@ncw

ncw commented Sep 25, 2019

Copy link
Copy Markdown
Member

Note: this PR renders some test remotes obsolete, namely TestChunkerChunk3bCompatLocal and TestChunkerCompatLocal

It appears to introduce some new ones too? Can you paste the config for those?

I looked through the code and the changes look straight forward so I'll merge now - thank you :-)

@ncw
ncw merged commit ccecfa9 into rclone:master Sep 25, 2019
@ivandeex

Copy link
Copy Markdown
Member Author

It appears to introduce some new ones too? Can you paste the config for those?

Remotes uncommented by this PR have already been on the list #3503 (comment)
You don't need to add anything.
This PR just removes the last two remotes.

@ncw

ncw commented Sep 25, 2019

Copy link
Copy Markdown
Member

Thanks!

@ivandeex
ivandeex deleted the metadone-pr branch September 25, 2019 12:02
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.

2 participants