Re: git-ubuntu rich history beta

2021-11-08 Thread Dan Streetman
On Wed, Oct 13, 2021 at 12:52 PM Robie Basak  wrote:
>
> git-ubuntu is now able to accept rich history directly from any uploader.
>
> The CLI is in beta and subject to change. Feedback appreciated!
>
> # Summary
>
> sudo snap refresh --beta git-ubuntu  # beta channel snap required

sorry to bring this up.

I recently reinstalled my system (hardware upgrades) and I have
completely removed snap, and I don't plan to reinstall it or use any
snaps in the future. Is there any place I can get 'git-ubuntu' without
using snaps?

>
> git ubuntu clone foo
> cd foo
> 
> dpkg-buildpackage  $(git ubuntu prepare-upload args)
> 
>
> Alternatively, if you don't use dpkg-buildpackage, you can prepare your
> source upload as usual, use
> `git ubuntu prepare-upload mangle <../changes file here>` to add the
> extra headers, sign (or re-sign) the changes file with `debsign` and
> then upload as usual.
>
> # CLI Design
>
> Ubuntu developers tend to have complex and custom workflows. To try and
> support them all, I've started by implementing the low level first. I
> didn't want to wrap everything and assume that you generate the changes
> file in some particular way. The `prepare-upload` subcommand is intended
> for integration and wrapping by your own tooling. I suggest you make an
> alias or wrapper script to operate it in the way that you want.
>
> Eventually I expect a high level CLI such as `git ubuntu submit` to do
> all the work for you, but I want to get the low level stuff right first.
>
> # Details of what the subcommands do
>
> There are two subcommands being added here: `git ubuntu prepare-upload
> args` and `git ubuntu prepare-upload mangle`. Both will push the current
> branch to a personal remote (defaulting to your personal Launchpad
> namespace that `git ubuntu clone` sets up named after your Launchpad
> username; details overridable with `--remote` and `--branch`). After
> that, `args` will output the required additional changes file headers in
> a form suitable for `dpkg-buildpackage`. `mangle` will instead replace
> an existing changes file to add the headers, stripping the signature if
> it was signed (as the alteration requires re-signing).
>
> # Details of the changes file headers
>
>  * Vcs-Git: points to the git repository where the rich history can be
>found.
>
>  * Vcs-Git-Ref: the ref which when fetched contains the rich history.
>
>  * Vcs-Git-Commit: the commit hash of your rich history. This must match
>your upload.
>
> When git-ubuntu imports your upload, it will look in the location
> specified by these headers for the rich history. If present and if they
> match your upload, then it will use your commit instead of synthesizing
> its own.
>
> # Caveats
>
>  * If empty directories exist in your source, then your rich history
>will likely mismatch and will be rejected. A synthesized commit will
>be used instead. git-ubuntu will warn you if this is about to happen
>if you used `git-ubuntu clone`. See LP: #1917877 for details and a
>workaround.
>
>  * Note that error paths are not currently well handled. I intend to fix
>these before a final release. I'd appreciate feedback on what edge
>cases you hit, so I can make sure I handle those.
>
>  * For now, only Launchpad git URLs are accepted to avoid the risk from
>a malicious git repository host. `git-ubuntu prepare-upload` will
>check that the URL will be acceptable.
> --
> ubuntu-devel mailing list
> ubuntu-devel@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Release vmlinuz and initrd alongside iso

2021-11-08 Thread MonkZ

Hi,

currently enabling booting via ipxe (https://ipxe.org/) over http needs 
a dedicated mirror that has vmlinuz and initrd extracted from the iso.


Would it be possible to release those files - already extracted from the 
iso - alongside those very isos?


This would enable ubuntu to create one iso, that can boot every version 
available directly from one usb stick or pxe server.


#!ipxe
dhcp
set http-server https://releases.ubuntu.com
kernel 
http://${http-server}/ubuntu/21.10/ubuntu-21.10-desktop-amd64.iso.vmlinuz
initrd 
http://${http-server}/ubuntu/21.10/ubuntu-21.10-desktop-amd64.iso.initrd
imgargs ubuntu-21.10-desktop-amd64.iso.vmlinuz root=/dev/ram0 
ramdisk_size=300 boot=casper ip=dhcp netboot=url 
url=http://${http-server}/os/ubuntu/21.10/ubuntu-21.10.x-desktop-amd64.iso

boot || shell

Something similar is done by Arch Linux. But they included the Let's 
Encrypt Root Certificate too, to enable boot via https, and they 
chainloaded a menu from their mirror to just have one iso or usbstick 
image to work indefinitely, as the critical information, what to boot 
would be loaded after the boot of ipxe.



Regards

MonkZ


--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


+1 maintenance report

2021-11-08 Thread Dan Bungert
Hi All,

### crowdsec ###

I started this last cycle, a month ago, and wanted to continue now that we're
in the JJ cycle.  This boils down to the golang-github-docker-docker-dev
package containing some vendored source, which causes problem for crowdsec, but
unvendoring that means other packages need changes.  I continued on this topic
and produced a workable package set requiring changes to 12 packages in total,
using a mix of changes to build-depends, syncing a new version from Debian, and
removing vendored source from two packages.  Two other packages are listed in
reverse build depends but are unaffected by the unvendoring.  I'm attempting to
get this fix set started by upstreaming build-dep changes to Debian, since that
is compatible both with the current docker.io and a devendored version.
LP: #1946376 has more details.

### firewalld ###

Network-manager configuration seems to be conflicting with some of the
integration tests.  Setting more configuration has allowed the failing
integration test to pass.  Upstream process started:
https://github.com/firewalld/firewalld/pull/880

Patch uploaded by LocutusOfBorg, thanks for the prompt upload!
Thanks also to TJ, who had this bug all but figured out.
LP: #1945596 has more details.

### thin-provisioning-tools ###

A no-change rebuild failed, seemingly for g++ 11 where the original version was
done with g++ 10.  LP: #1950028 opened.

-Dan

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel