mirror of
				https://github.com/arcan1s/ahriman.git
				synced 2025-11-03 23:33:41 +00:00 
			
		
		
		
	docs and recipes updatte
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/setup.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/setup.sh
									
									
									
									
										vendored
									
									
								
							@ -15,8 +15,6 @@ pacman -S --noconfirm devtools git pyalpm python-inflection python-passlib pytho
 | 
				
			|||||||
pacman -S --noconfirm --asdeps base-devel python-build python-flit python-installer python-tox python-wheel
 | 
					pacman -S --noconfirm --asdeps base-devel python-build python-flit python-installer python-tox python-wheel
 | 
				
			||||||
# optional dependencies
 | 
					# optional dependencies
 | 
				
			||||||
if [[ -z $MINIMAL_INSTALL ]]; then
 | 
					if [[ -z $MINIMAL_INSTALL ]]; then
 | 
				
			||||||
    # VCS support
 | 
					 | 
				
			||||||
    pacman -S --noconfirm breezy darcs mercurial subversion
 | 
					 | 
				
			||||||
    # web server
 | 
					    # web server
 | 
				
			||||||
    pacman -S --noconfirm python-aioauth-client python-aiohttp python-aiohttp-apispec-git python-aiohttp-cors python-aiohttp-jinja2 python-aiohttp-security python-aiohttp-session python-cryptography python-jinja
 | 
					    pacman -S --noconfirm python-aioauth-client python-aiohttp python-aiohttp-apispec-git python-aiohttp-cors python-aiohttp-jinja2 python-aiohttp-security python-aiohttp-session python-cryptography python-jinja
 | 
				
			||||||
    # additional features
 | 
					    # additional features
 | 
				
			||||||
 | 
				
			|||||||
@ -31,7 +31,6 @@ RUN useradd -m -d "/home/build" -s "/usr/bin/nologin" build && \
 | 
				
			|||||||
    echo "build ALL=(ALL) NOPASSWD: ALL" > "/etc/sudoers.d/build"
 | 
					    echo "build ALL=(ALL) NOPASSWD: ALL" > "/etc/sudoers.d/build"
 | 
				
			||||||
COPY "docker/install-aur-package.sh" "/usr/local/bin/install-aur-package"
 | 
					COPY "docker/install-aur-package.sh" "/usr/local/bin/install-aur-package"
 | 
				
			||||||
## install package dependencies
 | 
					## install package dependencies
 | 
				
			||||||
## darcs is not installed by reasons, because it requires a lot haskell packages which dramatically increase image size
 | 
					 | 
				
			||||||
RUN pacman -Sy --noconfirm --asdeps \
 | 
					RUN pacman -Sy --noconfirm --asdeps \
 | 
				
			||||||
        devtools \
 | 
					        devtools \
 | 
				
			||||||
        git \
 | 
					        git \
 | 
				
			||||||
@ -50,9 +49,7 @@ RUN pacman -Sy --noconfirm --asdeps \
 | 
				
			|||||||
        python-wheel \
 | 
					        python-wheel \
 | 
				
			||||||
        && \
 | 
					        && \
 | 
				
			||||||
    pacman -Sy --noconfirm --asdeps \
 | 
					    pacman -Sy --noconfirm --asdeps \
 | 
				
			||||||
        breezy \
 | 
					 | 
				
			||||||
        git \
 | 
					        git \
 | 
				
			||||||
        mercurial \
 | 
					 | 
				
			||||||
        python-aiohttp \
 | 
					        python-aiohttp \
 | 
				
			||||||
        python-boto3 \
 | 
					        python-boto3 \
 | 
				
			||||||
        python-cerberus \
 | 
					        python-cerberus \
 | 
				
			||||||
@ -61,7 +58,6 @@ RUN pacman -Sy --noconfirm --asdeps \
 | 
				
			|||||||
        python-matplotlib \
 | 
					        python-matplotlib \
 | 
				
			||||||
        python-systemd \
 | 
					        python-systemd \
 | 
				
			||||||
        rsync \
 | 
					        rsync \
 | 
				
			||||||
        subversion \
 | 
					 | 
				
			||||||
        && \
 | 
					        && \
 | 
				
			||||||
    runuser -u build -- install-aur-package \
 | 
					    runuser -u build -- install-aur-package \
 | 
				
			||||||
        python-aioauth-client \
 | 
					        python-aioauth-client \
 | 
				
			||||||
 | 
				
			|||||||
@ -265,11 +265,7 @@ TL;DR
 | 
				
			|||||||
How to update VCS packages
 | 
					How to update VCS packages
 | 
				
			||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
 | 
					^^^^^^^^^^^^^^^^^^^^^^^^^^
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Normally the service handles VCS packages correctly, however it requires additional dependencies:
 | 
					Normally the service handles VCS packages correctly. The version is updated in clean chroot, no additional actions are required.
 | 
				
			||||||
 | 
					 | 
				
			||||||
.. code-block:: shell
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
   pacman -S breezy darcs mercurial subversion
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
How to review changes before build
 | 
					How to review changes before build
 | 
				
			||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | 
					^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | 
				
			||||||
 | 
				
			|||||||
@ -9,10 +9,7 @@ url="https://github.com/arcan1s/ahriman"
 | 
				
			|||||||
license=('GPL3')
 | 
					license=('GPL3')
 | 
				
			||||||
depends=('devtools>=1:1.0.0' 'git' 'pyalpm' 'python-inflection' 'python-passlib' 'python-pyelftools' 'python-requests' 'python-srcinfo')
 | 
					depends=('devtools>=1:1.0.0' 'git' 'pyalpm' 'python-inflection' 'python-passlib' 'python-pyelftools' 'python-requests' 'python-srcinfo')
 | 
				
			||||||
makedepends=('python-build' 'python-flit' 'python-installer' 'python-wheel')
 | 
					makedepends=('python-build' 'python-flit' 'python-installer' 'python-wheel')
 | 
				
			||||||
optdepends=('breezy: -bzr packages support'
 | 
					optdepends=('python-aioauth-client: web server with OAuth2 authorization'
 | 
				
			||||||
            'darcs: -darcs packages support'
 | 
					 | 
				
			||||||
            'mercurial: -hg packages support'
 | 
					 | 
				
			||||||
            'python-aioauth-client: web server with OAuth2 authorization'
 | 
					 | 
				
			||||||
            'python-aiohttp: web server'
 | 
					            'python-aiohttp: web server'
 | 
				
			||||||
            'python-aiohttp-apispec>=3.0.0: web server'
 | 
					            'python-aiohttp-apispec>=3.0.0: web server'
 | 
				
			||||||
            'python-aiohttp-cors: web server'
 | 
					            'python-aiohttp-cors: web server'
 | 
				
			||||||
@ -26,8 +23,7 @@ optdepends=('breezy: -bzr packages support'
 | 
				
			|||||||
            'python-requests-unixsocket2: client report to web server by unix socket'
 | 
					            'python-requests-unixsocket2: client report to web server by unix socket'
 | 
				
			||||||
            'python-jinja: html report generation'
 | 
					            'python-jinja: html report generation'
 | 
				
			||||||
            'python-systemd: journal support'
 | 
					            'python-systemd: journal support'
 | 
				
			||||||
            'rsync: sync by using rsync'
 | 
					            'rsync: sync by using rsync')
 | 
				
			||||||
            'subversion: -svn packages support')
 | 
					 | 
				
			||||||
source=("https://github.com/arcan1s/ahriman/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
 | 
					source=("https://github.com/arcan1s/ahriman/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
 | 
				
			||||||
        'ahriman.sysusers'
 | 
					        'ahriman.sysusers'
 | 
				
			||||||
        'ahriman.tmpfiles')
 | 
					        'ahriman.tmpfiles')
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user