Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Rename version-specific resource folders #217

Merged
merged 2 commits into from
Nov 9, 2017

Conversation

hayfield
Copy link
Contributor

@hayfield hayfield commented Nov 7, 2017

Fixes #185

This removes the ambiguity in where the separation between components in version numbers lies. This would become even more of a problem should SemVer be used.

A hyphen is chosen since it is a clear separator and has no special meaning in either regular expressions (outside of character classes, which is a non-issue) or in filepaths on any sane filesystem.

Fixes #185

Up to this point  folders for specific versions are named, eg. ,  and .

By doing this, it is ambiguous where in the folder name the integer part ends and the decimal part begins. This will become even more of a problem should SemVer be used.As such, there should be a separator between the components of the Version Number.

A hyphen is chosen since it is a clear separator and has no special meaning in either regular expressions (outside of [character classes](https://stackoverflow.com/questions/9589074/regex-should-hyphens-be-escaped), which is a non-issue) or in filepaths on any sane filesystem.
@hayfield hayfield added complete A PR that is in a state that is ready for review. resources Relating to handling of resource (not code) files. labels Nov 7, 2017
@hayfield hayfield requested a review from a team November 7, 2017 14:22
@hayfield
Copy link
Contributor Author

hayfield commented Nov 7, 2017

(yes, the Changelog has the correct PR number despite this only being a single commit - magic!)

@hayfield
Copy link
Contributor Author

hayfield commented Nov 7, 2017

...failing test :D

@hayfield hayfield added incomplete A PR that is in a state that is not ready for review. and removed complete A PR that is in a state that is ready for review. labels Nov 7, 2017
f5d35bc made some changes without updating a key test.

This fixes the failing test
@hayfield hayfield added complete A PR that is in a state that is ready for review. and removed incomplete A PR that is in a state that is not ready for review. labels Nov 7, 2017
Copy link
Contributor

@allthatilk allthatilk left a comment

Choose a reason for hiding this comment

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

:shipit:

@hayfield hayfield merged commit 4109fe0 into dev Nov 9, 2017
@hayfield hayfield deleted the resource-folder-version-component-separation branch November 9, 2017 10:38
@hayfield hayfield added the versions Relating to IATI Version Numbers. label Feb 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
complete A PR that is in a state that is ready for review. resources Relating to handling of resource (not code) files. versions Relating to IATI Version Numbers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants