From 772fad377c25185ea19abbc7befa63a0b50ef231 Mon Sep 17 00:00:00 2001 From: Phidica Veia Date: Mon, 13 Nov 2017 23:02:45 +1030 Subject: [PATCH] Reformat messages, expanding NEWS and CHANGELOG into individual files for each version This way, the user will only be provided with the relevant messages upon upgrade --- CHANGELOG.md | 51 ------------------------------- Messages/changes-2.0.1.md | 6 ++++ Messages/changes-2.1.0.md | 6 ++++ Messages/changes-2.1.1.md | 5 +++ Messages/changes-2.1.2.md | 6 ++++ Messages/changes-2.2.0.md | 9 ++++++ Messages/changes-2.2.1.md | 5 +++ Messages/changes-2.2.2.md | 5 +++ NEWS.md => Messages/news-2.0.0.md | 7 ++--- messages.json | 10 ++++-- 10 files changed, 52 insertions(+), 58 deletions(-) delete mode 100644 CHANGELOG.md create mode 100644 Messages/changes-2.0.1.md create mode 100644 Messages/changes-2.1.0.md create mode 100644 Messages/changes-2.1.1.md create mode 100644 Messages/changes-2.1.2.md create mode 100644 Messages/changes-2.2.0.md create mode 100644 Messages/changes-2.2.1.md create mode 100644 Messages/changes-2.2.2.md rename NEWS.md => Messages/news-2.0.0.md (95%) diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 5f0228b..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,51 +0,0 @@ -Changelog -========= - -2.2.2 ------ - -Bugfixes: -- Snippets did not use tabs for indenting (#12) - -2.2.1 ------ - -Bugfixes: -- An argument consisting of a lone `-` was scoped as an option - -2.2.0 ------ - -Improvements: -- Make numeric scoping more consistent, and now recognise numbers starting with a plus or minus sign. - After the end of options argument `--`, an argument like `-5` will be scoped as numeric rather than as an option. Additionally, recognition of sign is important for when numbers are used in index expansion - -Bugfixes: -- Redirected process expansion failed to recognise special names like "self" - -2.1.2 ------ - -Bugfixes: -- A command call line ending with `=` did not terminate (#11) -- An `=` could not safely be a command name - -2.1.1 ------ - -Bugfixes: -- A lone `.` was scoped as a decimal point for a numeric (#10) - -2.1.0 ------ - -New features: -- Support for short (`-x`) and long (`--x=arg`) option arguments using the `variable.parameter` scope (#5) -- Recognise `--` as the end of options and treat further arguments as normal, even if they start with a dash - -2.0.1 ------ - -Bugfixes: -- Comment lines could incorrectly appear after certain line continuations -- stderr redirection into pipe (`^|` and `^^|`) was not recognised diff --git a/Messages/changes-2.0.1.md b/Messages/changes-2.0.1.md new file mode 100644 index 0000000..1d01755 --- /dev/null +++ b/Messages/changes-2.0.1.md @@ -0,0 +1,6 @@ +Changes - 2.0.1 +=============== + +Bugfixes: +- Comment lines could incorrectly appear after certain line continuations +- stderr redirection into pipe (`^|` and `^^|`) was not recognised diff --git a/Messages/changes-2.1.0.md b/Messages/changes-2.1.0.md new file mode 100644 index 0000000..c9b2597 --- /dev/null +++ b/Messages/changes-2.1.0.md @@ -0,0 +1,6 @@ +Changes - 2.1.0 +=============== + +New features: +- Support for short (`-x`) and long (`--x=arg`) option arguments using the `variable.parameter` scope (#5) +- Recognise `--` as the end of options and treat further arguments as normal, even if they start with a dash diff --git a/Messages/changes-2.1.1.md b/Messages/changes-2.1.1.md new file mode 100644 index 0000000..1e3d35c --- /dev/null +++ b/Messages/changes-2.1.1.md @@ -0,0 +1,5 @@ +Changes - 2.1.1 +=============== + +Bugfixes: +- A lone `.` was scoped as a decimal point for a numeric (#10) diff --git a/Messages/changes-2.1.2.md b/Messages/changes-2.1.2.md new file mode 100644 index 0000000..96a1729 --- /dev/null +++ b/Messages/changes-2.1.2.md @@ -0,0 +1,6 @@ +Changes - 2.1.2 +=============== + +Bugfixes: +- A command call line ending with `=` did not terminate (#11) +- An `=` could not safely be a command name diff --git a/Messages/changes-2.2.0.md b/Messages/changes-2.2.0.md new file mode 100644 index 0000000..078252e --- /dev/null +++ b/Messages/changes-2.2.0.md @@ -0,0 +1,9 @@ +Changes - 2.2.0 +=============== + +Improvements: +- Make numeric scoping more consistent, and now recognise numbers starting with a plus or minus sign. + After the end of options argument `--`, an argument like `-5` will be scoped as numeric rather than as an option. Additionally, recognition of sign is important for when numbers are used in index expansion + +Bugfixes: +- Redirected process expansion failed to recognise special names like "self" diff --git a/Messages/changes-2.2.1.md b/Messages/changes-2.2.1.md new file mode 100644 index 0000000..1d0e094 --- /dev/null +++ b/Messages/changes-2.2.1.md @@ -0,0 +1,5 @@ +Changes - 2.2.1 +=============== + +Bugfixes: +- An argument consisting of a lone `-` was scoped as an option diff --git a/Messages/changes-2.2.2.md b/Messages/changes-2.2.2.md new file mode 100644 index 0000000..ddb79b4 --- /dev/null +++ b/Messages/changes-2.2.2.md @@ -0,0 +1,5 @@ +Changes - 2.2.2 +=============== + +Bugfixes: +- Snippets did not use tabs for indenting (#12) diff --git a/NEWS.md b/Messages/news-2.0.0.md similarity index 95% rename from NEWS.md rename to Messages/news-2.0.0.md index 42ac737..104fc5d 100644 --- a/NEWS.md +++ b/Messages/news-2.0.0.md @@ -1,8 +1,5 @@ -News -==== - -2.0.0 ------ +News - 2.0.0 +============ Welcome to the new Sublime Text fish package! diff --git a/messages.json b/messages.json index cf24ef2..eb14a77 100644 --- a/messages.json +++ b/messages.json @@ -1,4 +1,10 @@ { - "2.0.0": "NEWS.md", - "2.2.2": "CHANGELOG.md" + "2.2.2": "Messages/changes-2.2.2.md", + "2.2.1": "Messages/changes-2.2.1.md", + "2.2.0": "Messages/changes-2.2.0.md", + "2.1.2": "Messages/changes-2.1.2.md", + "2.1.1": "Messages/changes-2.1.1.md", + "2.1.0": "Messages/changes-2.1.0.md", + "2.0.1": "Messages/changes-2.0.1.md", + "2.0.0": "Messages/news-2.0.0.md" }