Bug 1268322
| Summary: | vector bundling broken in scripts/spin-rawhide | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Frank Ch. Eigler <fche> |
| Component: | pcp | Assignee: | Lukas Berk <lberk> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | brolley, fche, lberk, mbenitez, mgoodwin, nathans, pcp, scox |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-10-27 00:21:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Frank Ch. Eigler
2015-10-02 13:55:59 UTC
Build scripts fixed upstream last week by myself & lberk - can you close out with this weeks rawhide spin please, Lukas? Taa. It would be nice if the rawhide snapshot of vector contained some version information. The current code obliterates the webapps/index.html version info, but should instead transcribe an identifier (e.g. git-describe) of the vector snapshot. > It would be nice if the rawhide snapshot of vector contained some version information. Ideally this info would be made visible in the UI somewhere, where any/all users would be able to report it to devs (thinking beyond just rpm users and rawhide) - I'll mention this to Martin. > The current code obliterates the webapps/index.html version info, but should instead transcribe an identifier (e.g. git-describe) of the vector snapshot. This (top-level pcp-webjs index.html) was always the wrong place to put version information - there is no requirement to install both pcp-webjs and pcp-webapp-vector, and nor should there be. In reality, "obliterates" is just "fixing the bug". > Ideally this info would be made visible in the UI somewhere, where any/all > users would be able to report it to devs (thinking beyond just rpm users and > rawhide) - I'll mention this to Martin. Since you are taking arbitrary git snapshots, the build process would have to include git version info into the dist/ parts, rather than have a simple "release X.Y" hardcoded string. > > The current code obliterates the webapps/index.html version info, but should instead transcribe an identifier (e.g. git-describe) of the vector snapshot. > > This (top-level pcp-webjs index.html) was always the wrong place to put > version information - there is no requirement to install both pcp-webjs and > pcp-webapp-vector, and nor should there be. > > In reality, "obliterates" is just "fixing the bug". There is no "wrong ... bug". The information in the index.html may become redundant (once vector learns to self-report) or unavailable (someone not installing pcp-webjs), but not incorrect ("bug"?). But for the moment, it is the only game in town. (In reply to Frank Ch. Eigler from comment #4) > [...] > There is no "wrong ... bug". The information in the index.html may > become redundant (once vector learns to self-report) or unavailable > (someone not installing pcp-webjs), but not incorrect ("bug"?). It really was incorrect. One can install a more recent or older pcp-webapp-vector RPM alongside the (totally unrelated) pcp-webjs RPM. The pcp-webjs index.html file would then have happily reported an incorrect version number for Vector. But that was fixed awhile back in the spec, so not really worth continued discussion here. > One can install a more recent or older pcp-webapp-vector RPM alongside the
> (totally unrelated) pcp-webjs RPM. The pcp-webjs index.html file would then
> have happily reported an incorrect version number for Vector.
>
> But that was fixed awhile back in the spec, so not really worth continued
> discussion here.
If that occurred, that would have been a self-made problem
caused by the unnecessary and imperfect subdivision of the
webjs suite. That says nothing about the propriety of
providing information in the index.html file.
Fixed for some time. Chatted to Martin last week, and he has kindly offered to add a mechanism for exposing version information via the Vector UI at some point. |