gnuradio / pybombs

PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
https://gnuradio.org
GNU General Public License v3.0
414 stars 189 forks source link

pybombs does not respect local recipe changes #565

Open jkbecker opened 4 years ago

jkbecker commented 4 years ago

I just encountered this weird issue:

  1. Installed something with its default recipe. The recipe indicated that it pulls from branch A.
  2. Install failed due to a mismatch with another recipe.
  3. I went into the recipe and changed the branch to branch B, which is compatible with the other recipe.
  4. Subsequent pybombs install still uses branch A despite recipe file saying branch B (local change only).

To me, this feels like a bug. If I need to update my local config I should be able to do so, and I would expect the recipe files to be the single point of truth for installation definitions. There seems to be a cache somewhere else though, at least in the case of a previously attempted installation (step 2.)?

My workaround was to go into the checked out repo in my prefix src folder and do a git checkout B, and then run pybombs install again; this time B was used.

Expected behavior to me would be that pybombs install always checks out the branch that is defined in the recipe file before performing any further installation-relevant operations on the source files.