diff options
-rw-r--r-- | docs/rockspec_format.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/rockspec_format.md b/docs/rockspec_format.md index a5fe1db9..3a7dfd3d 100644 --- a/docs/rockspec_format.md +++ b/docs/rockspec_format.md | |||
@@ -46,7 +46,7 @@ Dependencies are represented in LuaRocks through strings with a package name fol | |||
46 | * `https://` - for HTTPS URLs to archive file | 46 | * `https://` - for HTTPS URLs to archive file |
47 | * `sscm://` - for the SurroundSCM source control manager | 47 | * `sscm://` - for the SurroundSCM source control manager |
48 | * `svn://` - for the Subversion source control manager | 48 | * `svn://` - for the Subversion source control manager |
49 | * **Important:** A source control manager URL cannot start with `http://` `https://`, `ftp://` or `file://`. For example, `https://github.com/keplerproject/wsapi.git` is incorrect, even though it works perfectly fine with `git clone`. The correct one is `git://github.com/keplerproject/wsapi.git`. Also note that only for GitHub URLs `git://` is being treated the same as `git+https://`. This is due to [GitHub's increased security](https://github.blog/security/application-security/improving-git-protocol-security-github/) and preserving backwards compatibility. | 49 | * **Important:** A source control manager URL cannot start with `http://` `https://`, `ftp://` or `file://`. For example, `https://github.com/keplerproject/wsapi.git` is incorrect, even though it works perfectly fine with `git clone`. The correct one is `git+https://github.com/keplerproject/wsapi.git`. Also note that only for GitHub URLs `git://` is being automatically handled internally as if it was `git+https://`. This is due to preserve backwards compatibility while still working with [GitHub's increased default security](https://github.blog/security/application-security/improving-git-protocol-security-github/) measures in blocking insecure connection types. |
50 | * **source.md5** (string) - the MD5 sum for the source archive. Example: "9ca22fd9f9413b54802d3d40b38c4e5c" | 50 | * **source.md5** (string) - the MD5 sum for the source archive. Example: "9ca22fd9f9413b54802d3d40b38c4e5c" |
51 | * **source.file** (string) - the filename of the source archive. Can be omitted if it can be inferred from the `source.url` field. Example: "luasocket-2.0.1.tar.gz" | 51 | * **source.file** (string) - the filename of the source archive. Can be omitted if it can be inferred from the `source.url` field. Example: "luasocket-2.0.1.tar.gz" |
52 | * **source.dir** (string) - the name of the directory created when the source archive is unpacked. Can be omitted if it can be inferred from the `source.file` field. Example: "luasocket-2.0.1" | 52 | * **source.dir** (string) - the name of the directory created when the source archive is unpacked. Can be omitted if it can be inferred from the `source.file` field. Example: "luasocket-2.0.1" |