patchmetrics is not storing git branch information

Bug #1017933 reported by Milo Casagrande
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro patch metrics
Opinion
Wishlist
Unassigned

Bug Description

When setting up a new project inside patchmetrics, we only require the source tree link, optionally the URL for the web view, but we do not have information about the branch a soruce tree should point.

This information might be useful with repository that do not have a default branch set, or where the git HEAD is not referenced: with these repositories, an operation like "git pull" to update the history, will fail (example of these repositories are "gcc" and "cpu-freq").

If we have also the branch information, we can perform a checkout of that particular branch so that the next operations will not fail.

Milo Casagrande (milo)
Changed in linaro-patchmetrics:
importance: Undecided → Low
Revision history for this message
Milo Casagrande (milo) wrote :

We would need to change the DB model of patchwork upstream to add a new field, and then the code that clones the repositories and performs the checkout.

Changed in linaro-patchmetrics:
importance: Low → Wishlist
status: New → Opinion
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.