Skip to content

Commit

Permalink
rockspec: use git+https:// for git repository URL
Browse files Browse the repository at this point in the history
GitHub is going to disable unencrypted Git protocol, so `git://` URLs
will stop working soon (see [1]).

Bumped the rockspec revision.

[1]: https://github.blog/2021-09-01-improving-git-protocol-security-github/
  • Loading branch information
Totktonada authored and Tieske committed Nov 22, 2021
1 parent 8d74567 commit e5d38bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions date-2.2-1.rockspec → date-2.2-2.rockspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local package_name = "date"
local package_version = "2.2"
local rockspec_revision = "1"
local rockspec_revision = "2"
local github_account_name = "Tieske"
local github_repo_name = package_name
local git_checkout = package_version == "dev" and "master" or ("version_"..package_version)
Expand All @@ -9,7 +9,7 @@ package = package_name
version = package_version .. "-" .. rockspec_revision

source = {
url = "git://github.com/"..github_account_name.."/"..github_repo_name..".git",
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = git_checkout
}

Expand Down

0 comments on commit e5d38bb

Please sign in to comment.