Skip to content

Duplicate git-1 rockspec as scm-1 #101

Open

Description

@rrthomas

Fairly frequently, I want to install current git to fix a bug. However, git-1 is less than any numeric version, so this doesn't have the desired effect.

The magic version scm does, so can we have that as well?

The reason I suggest duplicating rather than renaming the rockspec is that equally one often wants to install git to play with, without replacing installed released versions.

Activity

  1. self-assigned this
    on Sep 12, 2015
  2. added this to the v41.3 milestone on Sep 12, 2015
  3. gvvaughan commented on Sep 12, 2015

    @gvvaughan
    Contributor

    I worry that this might lead to things going out of sync at some inopportune moment.

    Why not just create a soft-link in the checked out directory to work around this problem? (I realise this means you can't pass a github url to luarocks install, but then that points to a luarocks enhancement rather than more file droppings in lua-stdlib).

  4. rrthomas commented on Sep 13, 2015

    @rrthomas
    ContributorAuthor

    A soft-link won't work because the file's declared version must match its name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions