[Craft] [Bug 486333] New: bootstrapping with -localdev does not use the specified craft package
Ralf Habacker
bugzilla_noreply at kde.org
Tue Apr 30 10:00:32 BST 2024
https://bugs.kde.org/show_bug.cgi?id=486333
Bug ID: 486333
Summary: bootstrapping with -localdev does not use the
specified craft package
Classification: Developer tools
Product: Craft
Version: master
Platform: Other
OS: Microsoft Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: Core
Assignee: vonreth at kde.org
Reporter: ralf.habacker at freenet.de
CC: kde-windows at kde.org
Target Milestone: ---
SUMMARY
In this case, the specified directory is not used for bootstrapping, but the
craft git repo is cloned again.
STEPS TO REPRODUCE
1. run
git clone git at invent.kde.org:packaging/craft.git
run craft/setup/install_craft.ps1 -localdev $PWD/craft -root $PWD/CraftRoot
2. inspect log
OBSERVED RESULT
In the log there is printed
...
======================================================
*** Handling package: craft/craft-core, action: all **
*** Action: fetch-binary for craft/craft-core ***
*** craft/craft-core not found in cache ***
*** Action: fetch for craft/craft-core ***
craft trace: MultiSource fetch
craft trace: GitSource __init__
craft trace: VersionSystemSourceBase __init__
craft trace: SourceBase.__init__ called
craft trace: GitSource fetch
craft trace: MultiSource repositoryUrl
craft trace: VersionSystemSourceBase repositoryUrl
craft trace: VersionSystemSourceBase getUrl
craft trace: VersionSystemSourceBase splitUrl
fetching git at invent.kde.org:packaging/craft.git|master|
EXPECTED RESULT
In my opinion, craft should use the craft package provided by the -localdev
parameter and not retrieve the package again
SOFTWARE/OS VERSIONS
Windows: 10
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kde-windows
mailing list