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: [email protected]
Reporter: [email protected]
CC: [email protected]
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 [email protected]: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 [email protected]: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.