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

#1100409#5
Date:
2025-03-13 14:41:05 UTC
From:
To:
* 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).

#1100409#10
Date:
2025-03-13 18:51:32 UTC
From:
To:
13 mars 2025 15:45:31 Roland Mas <lolando@debian.org>:
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.

#1100409#15
Date:
2025-03-13 19:15:32 UTC
From:
To:
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