aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@gmail.com>2017-07-08 15:35:17 +0100
committerDominik Picheta <dominikpicheta@gmail.com>2017-07-08 15:35:17 +0100
commit505a05f19d66856fe6c8c54f574f89d5702a2737 (patch)
tree6ce761fc02fadb5f6796ae4d48757b1090a7fd90
parent93531a4f47e26baebb89fe642f7cef7e1ef0b7fe (diff)
downloadpackages-505a05f19d66856fe6c8c54f574f89d5702a2737.tar.gz
packages-505a05f19d66856fe6c8c54f574f89d5702a2737.zip
Rename monad to maybe. Add rename package instructions to readme.
-rw-r--r--README.md27
-rw-r--r--packages.json4
2 files changed, 31 insertions, 0 deletions
diff --git a/README.md b/README.md
index dc1a0b1..fda9691 100644
--- a/README.md
+++ b/README.md
@@ -30,3 +30,30 @@ Your packages may be removed if the url stops working. It goes without saying
that your pull request will not be accepted unless you fill out all of the
above required fields correctly, the package that ``url`` points to must also
contain a .nimble file, or else it will be rejected.
+
+## Renaming packages
+
+To rename a package you will need to add a new entry for your package. Simply
+perform the following steps:
+
+* Duplicate your package's current entry.
+* Remove every field in one of the entries apart from the `name` field.
+* Add an `alias` field to that entry.
+* Change the name in the other package entry.
+
+For example:
+
+```
+...
+ {
+ "name": "myoldname",
+ "alias": "mynewname"
+ },
+ {
+ "name": "mynewname",
+ "url": "...",
+ "method": "git",
+ ...
+ },
+...
+``` \ No newline at end of file
diff --git a/packages.json b/packages.json
index a5159f7..4f65c2b 100644
--- a/packages.json
+++ b/packages.json
@@ -1592,6 +1592,10 @@
"web": "https://github.com/cowboy-coders/nim-openssl-evp"
},
{
+ "name": "monad",
+ "alias": "maybe"
+ },
+ {
"name": "maybe",
"url": "https://github.com/superfunc/maybe",
"method": "git",