Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 14-Dec-2021 | - | 119 | 103 | |
config/ | H | 14-Dec-2021 | - | 8 | 5 | |
lib/ | H | 14-Dec-2021 | - | 15,345 | 12,774 | |
scripts/ | H | 14-Dec-2021 | - | 267 | 173 | |
src/ | H | 14-Dec-2021 | - | 7,663 | 5,808 | |
test/ | H | 14-Dec-2021 | - | 7,452 | 6,042 | |
.credo.exs | H A D | 14-Dec-2021 | 3.9 KiB | 94 | 87 | |
.formatter.exs | H A D | 14-Dec-2021 | 97 | 9 | 8 | |
.gitignore | H A D | 14-Dec-2021 | 102 | 10 | 9 | |
CHANGELOG.md | H A D | 14-Dec-2021 | 31.9 KiB | 881 | 586 | |
README.md | H A D | 14-Dec-2021 | 2 KiB | 40 | 23 | |
RELEASE.md | H A D | 14-Dec-2021 | 2.5 KiB | 89 | 55 | |
mix-new.lock | H A D | 14-Dec-2021 | 867 | 10 | 9 | |
mix-old.lock | H A D | 14-Dec-2021 | 726 | 7 | 6 | |
mix.exs | H A D | 14-Dec-2021 | 4.5 KiB | 150 | 120 |
README.md
1# Hex 2 3[![CI](https://github.com/hexpm/hex/workflows/CI/badge.svg)](https://github.com/hexpm/hex/actions) 4 5Hex is package manager for the Erlang VM. 6 7This project currently provides tasks that integrate with Mix, [Elixir](https://github.com/elixir-lang/elixir)'s build tool. 8 9See [hex.pm](https://hex.pm) for installation instructions and other documentation. 10 11## Contributing 12 13Install Hex locally for development with: `mix install`. 14 15### Bundled CA certs 16 17Hex bundles a list of root CA certificates used for certificate validation in HTTPS. The certificates are fetched from [Mozilla's source tree](http://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt) with curl's [mk-ca-bundle.pl](https://github.com/bagder/curl/blob/master/lib/mk-ca-bundle.pl) script. The bundle created from the Perl script is stored in `lib/hex/http/ca-bundle.crt` and is included in source control, the file should be updated when new releases are made by Mozilla. When Hex is compiled the certificates are parsed and included with the compiled artifacts. The task `mix certdata` automates this process. 18 19### hexpm 20 21Integration tests run against the API server [hexpm](https://github.com/hexpm/hexpm). It needs to be cloned into `../hexpm` or `HEXPM_PATH` needs to be set and point its location. hexpm also requires postgresql with username `postgres` and password `postgres`. 22 23Exclude integration tests with `mix test --exclude integration`. 24 25## License 26 27 Copyright 2015 Six Colors AB 28 29 Licensed under the Apache License, Version 2.0 (the "License"); 30 you may not use this file except in compliance with the License. 31 You may obtain a copy of the License at 32 33 http://www.apache.org/licenses/LICENSE-2.0 34 35 Unless required by applicable law or agreed to in writing, software 36 distributed under the License is distributed on an "AS IS" BASIS, 37 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 38 See the License for the specific language governing permissions and 39 limitations under the License. 40