Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
20270ddf
Commit
20270ddf
authored
Mar 04, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: add dotnet vendoring support for predownloaded
parent
ce915acf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
rpmgs
bin/rpmgs
+29
-0
No files found.
bin/rpmgs
View file @
20270ddf
...
...
@@ -642,6 +642,35 @@ update_predownloaded()
#### end of cargo only part
#### dotnet only part
local
sln_file
sln_file
=
$(
find
.
-maxdepth
2
-name
"*.sln"
-type
f 2>/dev/null |
head
-1
)
if
[
-n
"
$sln_file
"
]
&&
[
!
-d
"./vendor"
]
;
then
local
COMMITMSG
=
''
# Remove upstream SDK version pinning to use system dotnet
rm
-f
global.json
info
"Detected '
$sln_file
' dotnet solution, running dotnet restore ..."
export
DOTNET_CLI_TELEMETRY_OPTOUT
=
true
export
DOTNET_NOLOGO
=
1
docmd dotnet restore
"
$sln_file
"
\
--use-current-runtime
\
--packages
vendor
||
fatal
COMMITMSG
=
"update vendored NuGet packages with dotnet restore for
$VERSION
(see
$SDNAME
in .gear/rules)"
if
[
-s
$RGD
/.gear/predownloaded-postinstall-hook
]
;
then
info
"Detected .gear/predownloaded-postinstall-hook, running it ..."
$RUNHOOK
$RGD
/.gear/predownloaded-postinstall-hook
$MODE
$VERSION
fi
# drop all exclude vendor
# TODO: correct .* removing
rm
-rf
$(
ls
-1
|
grep
-v
vendor
)
.[a-zA-Z0-9]
*
fi
#### end of dotnet only part
#### yarn only part
if
[
-s
"./yarn.lock"
]
;
then
local
COMMITMSG
=
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment