Skip to content

Commit 40412ee

Browse files
committed
update README
1 parent 73695af commit 40412ee

File tree

2 files changed

+51
-35
lines changed

2 files changed

+51
-35
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ dpkg: prepare swagger ## Build debian packages
140140
mkdir -p build && mv ../*.deb build/ ; \
141141
cd build && ls -l *.deb
142142

143-
binaries: prepare swagger ## Build binary releases (FreeBSD, MacOS, Linux tar)
143+
binaries: prepare swagger ## Build binary releases (FreeBSD, macOS, Linux generic)
144144
# build aptly
145145
GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o build/tmp/aptly -ldflags='-extldflags=-static'
146146
# install
@@ -195,7 +195,7 @@ docker-serve: ## Run development server (auto recompiling) on http://localhost:
195195
docker-lint: ## Run golangci-lint in docker container
196196
@docker run -it --rm -v ${PWD}:/work/src aptly-dev /work/src/system/docker-wrapper lint
197197

198-
docker-binaries: ## Build binary releases (FreeBSD, MacOS, Linux tar) in docker container
198+
docker-binaries: ## Build binary releases (FreeBSD, macOS, Linux generic) in docker container
199199
@docker run -it --rm -v ${PWD}:/work/src aptly-dev /work/src/system/docker-wrapper binaries
200200

201201
docker-man: ## Create man page in docker container

README.rst

Lines changed: 49 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
=====
2-
aptly
3-
=====
4-
51
.. image:: https://github.com/aptly-dev/aptly/actions/workflows/ci.yml/badge.svg
62
:target: https://github.com/aptly-dev/aptly/actions
73

@@ -14,15 +10,18 @@ aptly
1410
.. image:: https://goreportcard.com/badge/github.com/aptly-dev/aptly
1511
:target: https://goreportcard.com/report/aptly-dev/aptly
1612

13+
aptly
14+
=====
15+
1716
Aptly is a swiss army knife for Debian repository management.
1817

1918
.. image:: http://www.aptly.info/img/aptly_logo.png
2019
:target: http://www.aptly.info/
2120

2221
Documentation is available at `http://www.aptly.info/ <http://www.aptly.info/>`_. For support please use
23-
mailing list `aptly-discuss <https://groups.google.com/forum/#!forum/aptly-discuss>`_.
22+
open `issues <https://github.com/aptly-dev/aptly/issues>`_ or `discussions <https://github.com/aptly-dev/aptly/discussions>`_.
2423

25-
Aptly features: ("+" means planned features)
24+
Aptly features:
2625

2726
* make mirrors of remote Debian/Ubuntu repositories, limiting by components/architectures
2827
* take snapshots of mirrors at any point in time, fixing state of repository at some moment of time
@@ -32,62 +31,75 @@ Aptly features: ("+" means planned features)
3231
* filter repository by search query, pulling dependencies when required
3332
* publish self-made packages as Debian repositories
3433
* REST API for remote access
35-
* mirror repositories "as-is" (without resigning with user's key) (+)
36-
* support for yum repositories (+)
3734

38-
Current limitations:
3935

40-
* translations are not supported yet
36+
Installation
37+
=============
4138

42-
Install Stable Version
43-
-----------------------
39+
Aptly can be installed on several operating systems and is available in the official Debian and Ubuntu distributions:
4440

45-
To install aptly on Debian/Ubuntu, add new repository to ``/etc/apt/sources.list``::
41+
Debian Packages
42+
----------------
4643

47-
deb http://repo.aptly.info/ squeeze main
44+
Aptly is provided in the following debian packages:
4845

49-
And import key that is used to sign the release::
46+
* aptly (main binary)
47+
* aptly-api (systemd service for REST API)
48+
* aptly-dbgsym (debugging symbols)
5049

51-
$ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EE727D4449467F0E
50+
The packages can be installed on official `Debian <https://packages.debian.org/search?keywords=aptly>`_ and `Ubuntu <https://packages.ubuntu.com/search?keywords=aptly>`_ distributions.
5251

53-
After that you can install aptly as any other software package::
52+
Upstream Debian Packages
53+
-------------------------
5454

55-
$ apt-get update
56-
$ apt-get install aptly
55+
If a newer version (not available in Debian/Ubuntu) of aptly is required, upstream debian packages (built from git tags) can be installed as follows:
5756

58-
Don't worry about squeeze part in repo name: aptly package should work on Debian squeeze+,
59-
Ubuntu 10.0+. Package contains aptly binary, man page and bash completion.
57+
Install the following APT key (as root)::
6058

61-
Other Binaries
62-
~~~~~~~~~~~~~~~~~
59+
wget -O /etc/apt/keyrings/aptly.asc https://www.aptly.info/pubkey.txt
6360

64-
Binary executables (depends almost only on libc) are available for download from `GitHub Releases <https://github.com/aptly-dev/aptly/releases>`_.
61+
Define Release APT sources in ``/etc/apt/sources.list.d/aptly.list``::
6562

66-
Install CI Version
67-
--------------------
63+
deb [signed-by=/etc/apt/keyrings/aptly.asc] http://repo.aptly.info/release DIST main
6864

69-
More recent versions are available as CI builds (development, might be unstable).
65+
Where DIST is one of: ``buster``, ``bullseye``, ``bookworm``, ``focal``, ``jammy``, ``noble``
7066

71-
Debian GNU/Linux
72-
~~~~~~~~~~~~~~~~~
67+
Install aptly packages::
7368

74-
Install the following APT key::
69+
apt-get update
70+
apt-get install aptly
71+
apt-get install aptly-api # REST API systemd service
7572

76-
sudo wget -O /etc/apt/keyrings/aptly.asc https://www.aptly.info/pubkey.txt
73+
CI Builds
74+
~~~~~~~~~~
75+
76+
For testing new features or bugfixes, recent builds are available as CI builds (built from master, might be unstable) and can be installed as follows:
77+
install CI builds as follows:
7778

7879
Define CI APT sources in ``/etc/apt/sources.list.d/aptly-ci.list``::
7980

8081
deb [signed-by=/etc/apt/keyrings/aptly.asc] http://repo.aptly.info/ci DIST main
8182

8283
Where DIST is one of: ``buster``, ``bullseye``, ``bookworm``, ``focal``, ``jammy``, ``noble``
8384

85+
Note: same gpg key is used as for the Upstream Debian Packages.
86+
87+
Other Operating Systems
88+
------------------------
89+
90+
Binary executables (depends almost only on libc) are available on `GitHub Releases <https://github.com/aptly-dev/aptly/releases>`_ for:
91+
92+
- macOS / darwin (amd64, arm64)
93+
- FreeBSD (amd64, arm64, 386, arm)
94+
- Generic Linux (amd64, arm64, 386, arm)
95+
8496
Contributing
85-
------------
97+
=============
8698

8799
Please follow detailed documentation in `CONTRIBUTING.md <CONTRIBUTING.md>`_.
88100

89101
Integrations
90-
------------
102+
=============
91103

92104
Vagrant:
93105

@@ -124,3 +136,7 @@ GUI for aptly API:
124136
Scala sbt:
125137

126138
- `sbt aptly plugin <https://github.com/amalakar/sbt-aptly>`_ by Arup Malakar
139+
140+
Molior:
141+
142+
- `Molior Debian Build System <https://github.com/molior-dbs/molior>`_ by André Roth

0 commit comments

Comments
 (0)