> fwiw, there is also the "portext" command, letting you do "no changes
> ports" just from a DSC-URL to any mini-buildd distribution.

That looks great. The documentation said barely nothing about portext
except auto-generated python docs,
so it would be better if we document it further :-)

>
>> I suggest that we provide a series of template similar to official
>> Debian repo.
>
> (...)
>
> Iiuuc ;), there actually is such a thing via the Layout (see extra
> options). There is also the per-wizard-predefined Layout "Debian
> Developer" which already comes with aliases for sid afair:
>
> ---
> Supported extra options
> Meta-Distributions: META=CODENAME-SUITE[ META=CODENAME-SUITE[...:
> Support METAs alone as distribution identifier.
>
> Meta distribution identifiers should be unique across all repositories;
> usually, a layout with meta distributions should only be used by at
> most one repository.
>
> Example: Meta-Distributions: unstable=sid-unstable experimental=sid-
> experimental (see standard layout 'Debian Developer'), to allow
> upload/testing of packages (to unstable,experimental,..) aimed for
> Debian.
> ---
>
> I hope that is what you are looking for?

Exactly, but that raises new questions:

Since we may have multiple repositories using various layouts
(selecting from pre-defined 3 layouts or even custom layouts), when at
least one repository has enabled the Meta-distribution feature, when
uploading a package
with "unstable" written in d/changelog, how does mini-buildd determine
which repository this package should go into?

I made a test here. If I kept only one repository and set it into
"Debian Developer" layout, then upload a normal source package
(written "unstable" in d/changelog) into mini-buildd, luckily
mini-buildd accepted the upload and did not reject it, but afterwards
it raises Internal Exception:

2016-07-31 12:20:07,302 mini_buildd.packager         (0082): WARNING :
Unauthenticated uploads allowed. Using
'nixnote2_2.0~beta8+20160727+ds-1_amd64.changes' unchecked
2016-07-31 12:20:08,073 mini_buildd.builder          (0040): ERROR   :
Internal error building: Malformed distribution 'unstable': Must be
'CODENAME-REPOID-SUITE[-rollbackN]'
2016-07-31 12:20:08,183 mini_buildd.builder          (0040): ERROR   :
Internal error building: Malformed distribution 'unstable': Must be
'CODENAME-REPOID-SUITE[-rollbackN]'
2016-07-31 12:20:08,431 mini_buildd.packager         (0040): ERROR   :
Package 'nixnote2_2.0~beta8+20160727+ds-1' FAILED: 2 mandatory
architecture(s) missing: amd64 i386

The building log says,

Host: localhost
Build request failed: 101 (builder-failed): Malformed distribution
'unstable': Must be 'CODENAME-REPOID-SUITE[-rollbackN]'

Did I miss something?

Actually the only thing I want to do is to upload a package that
conform to official debian policy and get the package accepted, built
and released under a certain repository.

Thanks,
Boyuan

Reply via email to