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

Extension Parameterisation (for comment, DO NOT merge!) #3

Closed
wants to merge 30 commits into from

Conversation

neilsjefferies
Copy link
Member

For comment rather than commit.

* Update README.md to include parameters

WIP

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update 0000-example-extension.md

* Update 0001-digest-algorithms.md

* Update README.md

* Update 0001-digest-algorithms.md

* Update 0000-example-extension.md

* Create 0002-N-tuple-tree.md

* Update 0002-N-tuple-tree.md

* Update 0002-N-tuple-tree.md

* Update 0002-N-tuple-tree.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update 0000-example-extension.md

* Update 0001-digest-algorithms.md

* Update 0002-N-tuple-tree.md

* Update README.md

* Update 0002-N-tuple-tree.md

* Update 0002-N-tuple-tree.md

* Update 0002-N-tuple-tree.md
README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@pwinckles pwinckles left a comment

Choose a reason for hiding this comment

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

I have some problems with n-tuple extension definition, but I thought it made sense to address those separate from the changes to how extensions are specified.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docs/0002-N-tuple-tree.md Show resolved Hide resolved
@zimeon
Copy link
Contributor

zimeon commented Apr 21, 2020

I think we'll do more work on this but I think the PR makes significant progress and will be good to get up as-is, modify with later PRs as necessary

Copy link
Member

@awoods awoods left a comment

Choose a reason for hiding this comment

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

This generally looks good. Some minor questions.

Additionally, we may want to add a Travis style validator... specifically to limit the line lengths.

docs/0002-N-tuple-tree.md Show resolved Hide resolved
* description: Indicates how many chunks are used for path generation
* type: integer
* range: 0,32
* default:
Copy link
Member

Choose a reason for hiding this comment

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

Giving a default here may encourage consistency of approach. For example, a "tuple size" of "2" (hex characters) and a "number of tuples" of "4" provides for four billion options. That could be a reasonable default starting point.

Copy link
Member Author

Choose a reason for hiding this comment

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

Default is to "pairtree" behaviour but I'm open to change.

* type: integer
* range: 0,32
* default:
* short object root
Copy link
Member

Choose a reason for hiding this comment

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

There are obviously other potential options for naming the object root. We should be open to the possibility of community feedback on that point.

Copy link
Member Author

Choose a reason for hiding this comment

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

Those can be other extensions. This is an extension based on generalising pairtree.

docs/0002-N-tuple-tree.md Show resolved Hide resolved
docs/0002-N-tuple-tree.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
docs/0002-N-tuple-tree.md Show resolved Hide resolved
docs/0002-N-tuple-tree.md Show resolved Hide resolved
docs/0002-N-tuple-tree.md Show resolved Hide resolved
docs/0002-N-tuple-tree.md Show resolved Hide resolved
docs/0002-N-tuple-tree.md Show resolved Hide resolved
docs/0002-N-tuple-tree.md Show resolved Hide resolved
docs/0002-N-tuple-tree.md Show resolved Hide resolved
@pwinckles
Copy link
Contributor

Perhaps it would make sense to split this PR in two? One PR for the update to how extensions are defined and referenced and one for the n-tuple layout extension?

@neilsjefferies
Copy link
Member Author

Going to pick up @pwinckles suggestion and split PR's but leave this here until we've processed all the comments.

@neilsjefferies
Copy link
Member Author

Perhaps it would make sense to split this PR in two? One PR for the update to how extensions are defined and referenced and one for the n-tuple layout extension?

First part is in #8

@neilsjefferies neilsjefferies changed the title Extension Parameterisation Extension Parameterisation (for comment, DO NOT merge!) May 19, 2020
@zimeon
Copy link
Contributor

zimeon commented May 19, 2020

Replaced by #8, #9 and #10

@zimeon zimeon closed this May 19, 2020
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.

5 participants