Page MenuHomePureOS Tracker

Uploading Packages to PureOS
Updated 317 Days AgoPublic

Uploading via dput

There are two tools in Debian based distros which provide the functionality to put a package on a remote server in the correct location for it to built and inserted into a package repository; dput and dput-ng. The package dput-ng provides better results. In dput-ng there is are switches to allow one to unset profiles, use those switches so you don't upload to Debian inadvertently.

Please use source-only uploads (created by passing -S -sa to dpkg-buildpackage, e.g. by using gbp via gbp buildpackage -S -sa) if possible, and only upload binaries directly if absolutely necessary (e.g. for bootstrapping). The autobuild system of the Laniakea archive management system will usually build new packages pretty quickly.

To upload please create the following ~/.dput.cf snippet:

[pureos]
fqdn = upload.pureos.net
method = https
incoming = pureos
login = anonymous
allow_unsigned_uploads = 0

Then issue this command;

dput pureos-origin stream_0.1.0-1pureos1.1_source.changes

  • Upload might take ~20 minutes to be processed after the upload is fully complete.
  • See also NEW queue and archive layout
  • If you want to get notification about any new upload that gets submitted to the archive, consider subscribing to the pureos-changes mailinglist.
  • Uploads targeted at the current development release of PureOS (currently byzantium) will automatically be redirected to landing, just like uploads to the *-updates suite of a stable release will automatically go to *-proposed-updates first.

Uploading via git tag

Packages can also be uploaded by tagging them appropriately in git. Have a look at https://source.puri.sm/snippets/138
The flow of a package once accepted by the archive is the same.

Tracing the package after the upload

Last Author
mak
Last Edited
Jun 5 2023, 13:14

Event Timeline

jonas.smedegaard edited the content of this document. (Show Details)Oct 26 2017, 03:04
mak edited the content of this document. (Show Details)Mar 8 2018, 09:42
jeremiah.foster edited the content of this document. (Show Details)Aug 2 2019, 13:02
mak edited the content of this document. (Show Details)Feb 17 2020, 16:04
jeremiah.foster changed the title from Uploading Packages to Uploading Packages to PureOS.Feb 24 2020, 09:13
jeremiah.foster edited the content of this document. (Show Details)
guido edited the content of this document. (Show Details)Feb 15 2021, 01:22
guido edited the content of this document. (Show Details)Feb 15 2021, 01:25

i was just wondering under which circumstances i would use dput?
my understanding was that when pushing a signed tag in the packaging repos (those which are pointed to from deb-build-jobs (?)) that the build server would automagically start the build.

automagically=some form of integration with gitlab building a source package and dput'ing that to the build farm?

guido edited the content of this document. (Show Details)Feb 15 2021, 01:33
guido removed a subscriber: evangelos.tzaras.
guido edited the content of this document. (Show Details)Feb 15 2021, 01:36
guido edited the content of this document. (Show Details)Feb 15 2021, 01:50
guido added subscribers: evangelos.tzaras, guido.

@evangelos.tzaras for phone development you'd usually not use dput.

guido edited the content of this document. (Show Details)Feb 21 2021, 02:47
evangelos.tzaras edited the content of this document. (Show Details)Mar 3 2021, 09:56
evangelos.tzaras changed the visibility from "Public (No Login Required)" to "All Users".
evangelos.tzaras changed the visibility from "All Users" to "Public (No Login Required)".Mar 3 2021, 10:00
evangelos.tzaras published a new version of this document.Mar 3 2021, 10:17
jeremiah.foster edited the content of this document. (Show Details)Apr 29 2021, 12:21

Thanks for expanding @jeremiah.foster you're duplicating partly content from Tracing the package after the upload though. what about dropping that and just referencing the Tracing the package after the upload

sebastian.krzyszkowiak edited the content of this document. (Show Details)Jul 10 2021, 17:58
mak edited the content of this document. (Show Details)Jun 3 2023, 18:00
mak edited the content of this document. (Show Details)
mak edited the content of this document. (Show Details)Jun 5 2023, 13:14