commit hash in config.mk causing git error while building ISO

Bug #1320060 reported by Roman Sokolkov
6
This bug affects 1 person
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_COMMIT?=89ccab7ee76980e38c4d9a5fbcdf7df87e35d61f

"make iso" fails with git error:

warning: Could not find remote branch 14fa5cd3f6b56f835dc20272eb6402d560eb887d to clone.
fatal: Remote branch 14fa5cd3f6b56f835dc20272eb6402d560eb887d not found in upstream origin

How to reproduce:
# git --version
git version 1.8.1.2 <--(or newer)
#git clone --depth 1 --branch 14fa5cd3f6b56f835dc20272eb6402d560eb887d https://github.com/stackforge/fuel-library.git fuel-lib
Cloning into 'fuel-lib'...
warning: Could not find remote branch 14fa5cd3f6b56f835dc20272eb6402d560eb887d to clone.
fatal: Remote branch 14fa5cd3f6b56f835dc20272eb6402d560eb887d not found in upstream origin
root@ubuntu:~/fuel-main# Unexpected end of command stream

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://github.com/stackforge/fuel-main/blob/master/repos.mk#L21

Tags: iso
tags: added: iso
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: none → 5.0
assignee: nobody → Roman Vyalov (r0mikiam)
Roman Vyalov (r0mikiam)
Changed in fuel:
milestone: 5.0 → 5.1
status: New → Confirmed
importance: Undecided → Medium
Roman Vyalov (r0mikiam)
Changed in fuel:
milestone: 5.1 → next
Roman Vyalov (r0mikiam)
Changed in fuel:
importance: Medium → Low
assignee: Roman Vyalov (r0mikiam) → Fuel OSCI Team (fuel-osci)
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

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.

Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → Dmitry Pyzhov (lux-place)
milestone: next → 5.1
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.