<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks/spec/doc_spec.lua, branch test-pin</title>
<subtitle>A mirror of https://github.com/luarocks/luarocks.git
</subtitle>
<id>https://git.lua4.win/luarocks/atom?h=test-pin</id>
<link rel='self' href='https://git.lua4.win/luarocks/atom?h=test-pin'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/'/>
<updated>2024-02-29T15:46:16+00:00</updated>
<entry>
<title>tests: speed up and simplify</title>
<updated>2024-02-29T15:46:16+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-02-29T03:46:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=f76b7a2b13e411df2e696146bb0a6396781acd92'/>
<id>urn:sha1:f76b7a2b13e411df2e696146bb0a6396781acd92</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: reorganize and speed up unit tests</title>
<updated>2024-02-27T16:28:33+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-02-26T21:30:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=03e401231972d7b4db0145a71ce74d5d18d1a901'/>
<id>urn:sha1:03e401231972d7b4db0145a71ce74d5d18d1a901</id>
<content type='text'>
</content>
</entry>
<entry>
<title>editorconfig: trim trailing whitespace</title>
<updated>2021-03-16T19:32:45+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2021-03-16T16:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f'/>
<id>urn:sha1:8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: shorter descriptions</title>
<updated>2020-02-14T12:53:12+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2020-02-14T12:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=bd27d052eaf856bf24c77f556a50b7e19f11cba1'/>
<id>urn:sha1:bd27d052eaf856bf24c77f556a50b7e19f11cba1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dependency pinning: luarocks.lock file and --pin flag</title>
<updated>2019-11-29T21:36:42+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2019-11-08T21:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=acf8bcb82ae697a5bac94bfbe93c3ad9d7487795'/>
<id>urn:sha1:acf8bcb82ae697a5bac94bfbe93c3ad9d7487795</id>
<content type='text'>
This adds support for pinning dependencies in projects and rocks:

* Adds a new flag called `--pin` which creates a `luarocks.lock`
  when building a rock with `luarocks build` or `luarocks make`.
  This lock file contains the exact version numbers of every
  direct or indirect dependency of the rock (in other words,
  it is the transitive closure of the dependencies.)
  For `make`, the `luarocks.lock` file is created in the current
  directory.
  The lock file is also installed as part of the rock in
  its metadata directory alongside its rockspec.
  When using `--pin`, if a lock file already exists, it is
  ignored and overwritten.
* When building a rock with `luarocks make`, if there is a
  `luarocks.lock` file in the current directory, the exact
  versions specified there will be used for resolving dependencies.
* When building a rock with `luarocks build`, if there is a
  `luarocks.lock` file in root of its sources, the exact
  versions specified there will be used for resolving dependencies.
* When installing a `.rock` file with `luarocks install`, if the
  rock contains a `luarocks.lock` file (i.e., if its dependencies
  were pinned with `--pin` when the rock was built), the exact
  versions specified there will be used for resolving dependencies.
</content>
</entry>
<entry>
<title>Tests: refactor and add fixtures for the doc tests</title>
<updated>2018-07-31T18:50:22+00:00</updated>
<author>
<name>George Roman</name>
<email>george.roman.99@gmail.com</email>
</author>
<published>2018-07-27T19:29:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=c02b5989301312dfee02c195497e119bd0c73b85'/>
<id>urn:sha1:c02b5989301312dfee02c195497e119bd0c73b85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tests: replace #blackbox with #integration and #whitebox with #unit</title>
<updated>2018-06-04T18:41:51+00:00</updated>
<author>
<name>George Roman</name>
<email>george.roman.99@gmail.com</email>
</author>
<published>2018-05-31T21:05:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=4e8c650d7daac769f9af843b1578dd2521318972'/>
<id>urn:sha1:4e8c650d7daac769f9af843b1578dd2521318972</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for namespaces.</title>
<updated>2018-04-11T17:38:06+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-04-05T18:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=835d21e98e95e0ed2b6b028ddb06fe87427e5488'/>
<id>urn:sha1:835d21e98e95e0ed2b6b028ddb06fe87427e5488</id>
<content type='text'>
For details of the new feature, see
https://github.com/luarocks/luarocks/wiki/Namespaces

This ended up being a huge commit because of some major refactoring
motivated by the new feature:

* new modules for some object types:
  * `luarocks.queries` - all functions that look for rocks in local or
    remote repositories now use objects constructed by this module:
    query objects contain the name, namespace and query constraints.
    Dependencies in a rockspec are also stored as query objects.
  * `luarocks.results` - all individual results produces from queries
    are returned in this format: result objects contain the name,
    namespace, version, arch and repo.
* the `results` object was renamed to `result_tree`, to better
  reflect that it is not an array of `result` objects.
* `luarocks.vers` was removed, its functionality was moved to better locations.

Specifically on namespaces:

* Commands that take a rock `name` can now take `namespace/name`
  (and alternately `--flags=namespace` so that URLs can be
  also installed with a nominal namespace).
* Rocks installed from a namespace now create a `rock_namespace`
  file alongside `rock_manifest`, which is used when matching
  namespaced dependencies against locally-installed rocks.
* Using namespaced dependencies in a rockspec, requires
  `rockspec_format = "3.0"`.
* Tests under the `#namespaces` hashtag, all using a local repository.
</content>
</entry>
<entry>
<title>Reorganize test suite files</title>
<updated>2018-01-08T18:26:48+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-01-08T18:26:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=d80124af9cd929b395b4d4c353b51ccc902a3f9e'/>
<id>urn:sha1:d80124af9cd929b395b4d4c353b51ccc902a3f9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use versioned files only. (#734)</title>
<updated>2017-10-04T14:14:42+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2017-10-04T14:14:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=84b4fe99cac37850a97858e0b641043bd3178d8a'/>
<id>urn:sha1:84b4fe99cac37850a97858e0b641043bd3178d8a</id>
<content type='text'>
Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for:

* Unversioned config.lua -&gt; use config-5.x.lua
* Unversioned luarocks/site_config.lua -&gt; it always generates luarocks/core/site_config_5_x.lua
* Unversioned lib/luarocks/rocks -&gt; it always uses lib/luarocks/rocks-5.x
</content>
</entry>
</feed>
