[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1100409: ITP: golang-github-microsoft-hcsshim -- Windows - Host Compute Service Shim



If the cli isn't using https://github.com/microsoft/hcsshim/blob/62ddb129f044a01c4938e64c741ba243fea89fc6/osversion/windowsbuilds.go already, it probably will in the future (so it does make sense to package this otherwise Windows specific library unless we vendor that).

- Tianon

On Thu, Mar 13, 2025, 12:09 Nicolas Peugnet <nicolas@club1.fr> wrote:
13 mars 2025 15:45:31 Roland Mas <lolando@debian.org>:

> Package: wnpp
> Severity: wishlist
> Owner: Roland Mas <lolando@debian.org>
>
> * Package name    : golang-github-microsoft-hcsshim
>   Version         : 0.13.0~rc3-1
>   Upstream Author : Microsoft
> * URL             : https://github.com/Microsoft/hcsshim
> * License         : Expat
>   Programming Lang: Go
>   Description     : Windows - Host Compute Service Shim
>
> hcsshim
> .
> [Image: Build status]
> (https://github.com/microsoft/hcsshim/actions/workflows/ci.yml/badge.
> svg?branch=master)
> (https://github.com/microsoft/hcsshim/actions?query=branch%3Amaster)
> .
> This package contains the Golang interface for using the Windows Host
> Compute Service
>
> (https://techcommunity.microsoft.com/t5/containers/introducing-the-host-
> compute-service-hcs/ba-p/382332) (HCS) to launch and manage Windows
> Containers (https://docs.microsoft.com/en-
> us/virtualization/windowscontainers/about/). It also contains other
> helpers and functions for managing Windows Containers such as the
> Golang
> interface for the Host Network Service (HNS), as well as code for the
> guest agent (/internal/guest/README.md) (commonly referred to as the
> GCS
> or Guest Compute Service in the codebase) used to support running Linux
> Hyper-V containers.
> .
> It is primarily used in the Moby (https://github.com/moby/moby) and
> Containerd (https://github.com/containerd/containerd) projects, but it
> can be freely used by other projects as well.
> .
> Building
> .
> While this repository can be used as a library of sorts to call the HCS
> apis, there are a couple binaries built out of the repository as well.
> The main ones being the Linux guest agent, and an implementation of the
> runtime v2 containerd shim api
>
> (https://github.com/containerd/containerd/blob/master/runtime/v2/README.
> md).
This is a windows specific library. You probably don't really need it in
Debian and you should probably patch it out of the project that needs it,
as it is done in Docker packages.

--
Nicolas Peugnet


Reply to: