Skip to content

Luarocks downloading wrong[old] rockspec? #45

@szank

Description

@szank

Hi, I am not sure if this is the correct place to post this issue ( I am learning lua and luarocks atm ), but I did try to install this package using luarocks
luarocks install queue ( after adding rocks.tarantool.org repo) and the compat.lua file was missing.

I did call luarocks download queue and saw:

package = 'queue'
version = 'scm-1'
source  = {
    url    = 'git://github.com/tarantool/queue.git',
    branch = 'master',
}
description = {
    summary  = "A set of persistent in-memory queues",
    homepage = 'https://github.com/tarantool/queue.git',
    license  = 'BSD',
}
dependencies = {
    'lua >= 5.1'
}
build = {
    type = 'builtin',

    modules = {
        ['queue.abstract']                 = 'queue/abstract.lua',
        ['queue.abstract.state']           = 'queue/abstract/state.lua',
        ['queue.abstract.driver.fifottl']  = 'queue/abstract/driver/fifottl.lua',
        ['queue.abstract.driver.utubettl'] = 'queue/abstract/driver/utubettl.lua',
        ['queue.abstract.driver.fifo']     = 'queue/abstract/driver/fifo.lua',
        ['queue.abstract.driver.utube']    = 'queue/abstract/driver/utube.lua',
        ['queue']                          = 'queue/init.lua'
    }
}

-- vim: syntax=lua

Clearly, the downloaded rockspec doesn't contain the compat.lua file, while the entry and the file itself is present in the git repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions