commit hash in config.mk causing git error while building ISO
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
Low
|
Dmitry Pyzhov |
Bug Description
Environment:
- Ubuntu 13.04
- git 1.8.1.2 (default one for 13.04)
Description:
I'm trying to rebuild Fuel 5.0 iso. And specified commit hash in config.mk
FUELLIB_
"make iso" fails with git error:
warning: Could not find remote branch 14fa5cd3f6b56f8
fatal: Remote branch 14fa5cd3f6b56f8
How to reproduce:
# git --version
git version 1.8.1.2 <--(or newer)
#git clone --depth 1 --branch 14fa5cd3f6b56f8
Cloning into 'fuel-lib'...
warning: Could not find remote branch 14fa5cd3f6b56f8
fatal: Remote branch 14fa5cd3f6b56f8
root@ubuntu:
Details:
It works fine on Ubuntu 12.04 that has git version 1.7.9.5
Somewhere between 1.7.9.5-1.8.1.2 were changes that cause this behaviour. (it works just for branches and tags now)
This line should be refactored in favor new changes.
https:/
tags: | added: iso |
Changed in fuel: | |
milestone: | none → 5.0 |
assignee: | nobody → Roman Vyalov (r0mikiam) |
Changed in fuel: | |
milestone: | 5.0 → 5.1 |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in fuel: | |
milestone: | 5.1 → next |
Changed in fuel: | |
importance: | Medium → Low |
assignee: | Roman Vyalov (r0mikiam) → Fuel OSCI Team (fuel-osci) |
It does not work by design, unfortunately. There is no ability in git to fetch remote sha commit. You can work with tags and branches.