Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900597 - Gentoo Dotnet Project: introduce the dotnet-pkg eclass and packages depending on it
Summary: Gentoo Dotnet Project: introduce the dotnet-pkg eclass and packages depending...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 833356 882569 900619 905926
Blocks:
  Show dependency tree
 
Reported: 2023-03-09 17:22 UTC by Maciej Barć
Modified: 2023-09-15 20:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Barć gentoo-dev 2023-03-09 17:22:44 UTC
This bug tracks the efforts of the Gentoo Dotnet project team to introduce new
dotnet-pkg.eclass, replace some ebuilds using it (eg. boogie) and change the way
dotnet-sdk packages re handled inside ::gentoo.

Currently the experimental eclass and packages reside inside https://gitlab.com/xgqt/gentoo-dotnet-2023

The introduction plan:
1. introduce dotnet-sdk transition as RFC e-mail
2. introduce new dotnet-pkg.eclass as RFC e-mail
3. transition dotnet-sdk packages (dev-dotnet & virtual)
4. drop old 3.1 dotnet-sdk
5. merge the dotnet-pkg.eclass
6. transition packages depending on dotnet-sdk
7. port most of packages inside ::gentoo-dotnet-2023 to ::gentoo

Current efforts:
1. investigate "pwsh" (Powershell) from-source build
2. refine the "www-apps/jackett" ebuild
3. investigate other self-hosted apps, eg jallyfin, radarr, ...
4. investigate "P" from-source build (likely to fail) and binary
5. start "The introduction plan"
Comment 1 Maciej Barć gentoo-dev 2023-03-09 17:25:28 UTC
> Assignee:	
> dotnet@gentoo.org did not match anything


Mail alias broken?

Assinging to myself.

Please reassign when this is fixed.
Comment 2 Maciej Barć gentoo-dev 2023-03-09 17:28:52 UTC
CC navi@vlhl.dev
CC sam@gentoo.org
Comment 3 Maciej Barć gentoo-dev 2023-03-09 17:31:46 UTC
Additional side-efforts of support software:
- program to automate NUGETS list creation
- program to replace current .NET information mechanism ("edotnet --info")
  for debugging purposes
Comment 4 Maciej Barć gentoo-dev 2023-03-11 23:23:30 UTC
> - program to replace current .NET information mechanism ("edotnet --info")
>   for debugging purposes

Done, see: https://gitlab.com/xgqt/gentoo-dotnet-2023/-/commit/734c436fae6d1bc235db03aee759ebfaa0c1994b
Comment 5 Maciej Barć gentoo-dev 2023-03-22 09:55:48 UTC
A possible case of .NET SDK 3.1-only bug: https://bugs.gentoo.org/894760
Comment 6 Maciej Barć gentoo-dev 2023-03-22 10:18:51 UTC
New task: 
Investigate musl compatibility, 
see: https://github.com/dotnet/sdk/issues/31363
Comment 7 Maciej Barć gentoo-dev 2023-03-27 12:59:00 UTC
(In reply to Maciej Barć from comment #0)
> 1. investigate "pwsh" (Powershell) from-source build

Done.
Comment 8 Maciej Barć gentoo-dev 2023-04-23 20:57:52 UTC
I moved the overlay from official GitLab instance to https://gitlab.gentoo.org/dotnet/gentoo-dotnet-2023
Comment 9 Larry the Git Cow gentoo-dev 2023-09-15 20:49:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccb5796860e7dc5ca35875a8c8d7c6992472dce8

commit ccb5796860e7dc5ca35875a8c8d7c6992472dce8
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-09-15 19:09:06 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-09-15 20:48:42 +0000

    dev-dotnet/csharp-gentoodotnetinfo: new package; add 0.1.0
    
    Bug: https://bugs.gentoo.org/900597
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-dotnet/csharp-gentoodotnetinfo/Manifest        |  1 +
 .../csharp-gentoodotnetinfo-0.1.0.ebuild           | 44 ++++++++++++++++++++++
 dev-dotnet/csharp-gentoodotnetinfo/metadata.xml    | 13 +++++++
 3 files changed, 58 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24db3efe53aa6b8801326cd8ef97d1db801fb34b

commit 24db3efe53aa6b8801326cd8ef97d1db801fb34b
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-09-15 16:56:00 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-09-15 20:48:42 +0000

    dev-dotnet/dotnet-sdk: new package; add 7.0.105
    
    Bug: https://bugs.gentoo.org/900597
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-dotnet/dotnet-sdk/Manifest                  |  1 +
 dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild | 90 +++++++++++++++++++++++++
 dev-dotnet/dotnet-sdk/metadata.xml              | 15 +++++
 3 files changed, 106 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7385ce33f1913958559b24c96117bf10e596fa8

commit a7385ce33f1913958559b24c96117bf10e596fa8
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-09-15 16:53:32 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-09-15 20:48:42 +0000

    virtual/dotnet-sdk: add 6.0-r2 and 7.0-r1
    
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 virtual/dotnet-sdk/dotnet-sdk-6.0-r2.ebuild | 16 ++++++++++++++++
 virtual/dotnet-sdk/dotnet-sdk-7.0-r1.ebuild | 16 ++++++++++++++++
 2 files changed, 32 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af8c7fdec0d4c2219e87b2b7fbe54e433dce0456

commit af8c7fdec0d4c2219e87b2b7fbe54e433dce0456
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-09-15 16:50:06 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-09-15 20:48:42 +0000

    dev-dotnet/dotnet-sdk-bin: add 6.0.404-r1 and 7.0.203
    
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-dotnet/dotnet-sdk-bin/Manifest                 |  6 ++
 .../dotnet-sdk-bin-6.0.404-r1.ebuild               | 70 +++++++++++++++++++++
 .../dotnet-sdk-bin/dotnet-sdk-bin-7.0.203.ebuild   | 71 ++++++++++++++++++++++
 3 files changed, 147 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c68b21b5acd942e65b08fecdcc7bf9391fbb1838

commit c68b21b5acd942e65b08fecdcc7bf9391fbb1838
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-09-15 16:19:35 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-09-15 20:48:42 +0000

    dev-dotnet/dotnet-runtime-nugets: new package
    
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-dotnet/dotnet-runtime-nugets/Manifest          | 77 ++++++++++++++++++++++
 .../dotnet-runtime-nugets-3.1.32.ebuild            | 56 ++++++++++++++++
 .../dotnet-runtime-nugets-6.0.12.ebuild            | 59 +++++++++++++++++
 .../dotnet-runtime-nugets-6.0.16.ebuild            | 59 +++++++++++++++++
 .../dotnet-runtime-nugets-7.0.5.ebuild             | 59 +++++++++++++++++
 dev-dotnet/dotnet-runtime-nugets/metadata.xml      |  9 +++
 6 files changed, 319 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e48b1b9c5338cde237f464486eff79eb0df5b4

commit 33e48b1b9c5338cde237f464486eff79eb0df5b4
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-09-15 16:13:25 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-09-15 20:48:35 +0000

    app-eselect/eselect-dotnet: new package; add version 0.1.0
    
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 app-eselect/eselect-dotnet/Manifest                   |  1 +
 .../eselect-dotnet/eselect-dotnet-0.1.0.ebuild        | 19 +++++++++++++++++++
 app-eselect/eselect-dotnet/metadata.xml               | 13 +++++++++++++
 3 files changed, 33 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd3d39616f2a7ff01ce9f692d14d17a6b4d1a08e

commit fd3d39616f2a7ff01ce9f692d14d17a6b4d1a08e
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-09-15 14:49:48 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-09-15 20:47:00 +0000

    eclass/dotnet-pkg.eclass: add new dotnet-pkg eclass
    
    common functions and variables for .NET packages
    
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 eclass/dotnet-pkg.eclass | 263 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 263 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33953bf9dd7aef94ab2d5862cb003765d749566f

commit 33953bf9dd7aef94ab2d5862cb003765d749566f
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-09-15 14:46:52 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-09-15 20:46:59 +0000

    eclass/dotnet-pkg-base.eclass: add new dotnet-pkg-base eclass
    
    common functions and variables for builds using .NET SDK
    
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 eclass/dotnet-pkg-base.eclass | 628 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 628 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87a7aaecdff4dd41209ec2e467ebd5aab61494e

commit a87a7aaecdff4dd41209ec2e467ebd5aab61494e
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-09-15 14:32:25 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-09-15 20:46:59 +0000

    eclass/nuget.eclass: add new nuget eclass
    
    common functions and variables for handling .NET NuGets
    
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 eclass/nuget.eclass | 197 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 197 insertions(+)
Comment 10 Maciej Barć gentoo-dev 2023-09-15 20:54:38 UTC
Merged.