[Gambas-user] Possible to add a release file to ppa's

Brian G brian at westwoodsvcs.com
Fri Dec 29 21:45:42 CET 2023


On 12/29/23 12:21, Brian G wrote:
> Good question,
>
>   I am not sure how the auto builds work,
>
>   can you add your own scripts to the process?
>
> On 12/27/23 12:39, Benoît Minisini wrote:
>> Le 27/12/2023 à 21:06, Brian G a écrit :
>>> Benoit,
>>>
>>>    Would it be possible to build a 'Release' file for for the daily 
>>> and current release ppa repositories, this would allow us to
>>>
>>>   add the ppa as a repository to Debian, and have it be trusted.
>>>
>>>   To use with Mint Debian edition for example.
>>>
>>>   Or maybe there is a better way to do this?
>>>
>>
>> What should I do exactly?
>>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----


This is how I build my own repository I use with Ubuntu and Debian 
distributions, maybe the part where it generates

the Release can be adapted, or maybe I just don't understand how the PPA 
process works.

++++++++++++++++++++++++++++++

#!/bin/bash

cd ~/Projects/MyAppDirectory

echo In directory $PWD

# Packages & Packages.gz
dpkg-scanpackages --multiversion . > Packages
gzip -k -f Packages

# Release, Release.gpg & InRelease
apt-ftparchive release . > Release
gpg --default-key "MyRepositoryKeyEmail" -abs -o - Release > Release.gpg
gpg --default-key "MyRepositoryKeyEmail" --clearsign -o - Release > 
InRelease

# Make list file
echo "deb 
https://raw.githubusercontent.com/justlostintime/ppa/main/ubuntu ./" > 
Packaged.list

# Commit & push
git add -A
git commit -m update
git push
++++++++++++++++++++++++++++++++++++++++++++++++

Email Key name changed to protect the innocent, Not really a ppa..

I install the repository like this on the Ubuntu/Debian systems that are 
using my APPs

+++++++++++++++++++++++++++++++++++++++++++++++++

|sudo -i curl -s --compressed 
"https://raw.githubusercontent.com/justlostintime/ppa/main/ubuntu/KEY.gpg" 
| gpg --dearmor > /etc/apt/trusted.gpg.d/westwood-archive-key.gpg sudo 
curl -s --compressed -o /etc/apt/sources.list.d/Packaged.list 
"https://raw.githubusercontent.com/justlostintime/ppa/main/ubuntu/Packaged.list" 
sudo apt update 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231229/3e58aebe/attachment.htm>


More information about the User mailing list