-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always use public path to logfile in webui #9980
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There is no benefit in using different routes to the log file, for authenticated and non authenticated users in the webui, since both deliver the exact same result. Fixes openSUSE#9880
dmarcoux
approved these changes
Aug 5, 2020
We could get rid of the Edit: Forget this comment, it's an API endpoint. 🙈 |
Codecov Report
@@ Coverage Diff @@
## master #9980 +/- ##
=======================================
Coverage 90.51% 90.51%
=======================================
Files 566 566
Lines 21236 21236
=======================================
Hits 19222 19222
Misses 2014 2014 |
On Mittwoch, 5. August 2020, 14:42:21 CEST wrote Lukas Krause:
There is no benefit in using different routes to the log file,
for authenticated and non authenticated users in the webui,
since both deliver the exact same result.
/public is not always enabled. You most likely make it impossible to
access logfiles on anonymous off instances.
…
Fixes #9880
<!---
If you haven't done so already, please read the CONTRIBUTING.md file to learn
how we work and what we expect from all contributors.
https://github.com/openSUSE/open-build-service/blob/master/CONTRIBUTING.md
In order to make it as easy as possible for other developers to review your
pull request we ask you to:
- Explain what this PR is about in the description
- Explain the steps the reviewer has to follow to verify your change
- If the reviewer needs sample data to verify your change, please explain how to
create that data
- If you include visual changes in this PR, please add screenshots or GIFs
- If you address performance in this PR, add benchmark data or explain how the
reviewer can benchmark this
This is a good PR description example:
Hey Friends,
this introduces labels for the different build result states on the project
monitor page. This makes it easier to get a visual overview of what is going on
in your project.
To verify this feature
- Enable the interconnect to build.opensuse.org
- Create the project home:Admin
- Add 'openSUSE Tumbleweed' as a repository to the project
- Branch a couple of packages into the project:
```
for i in `osc -A http://0.0.0.0:3000 ls openSUSE.org:home:hennevogel`; do osc -A http://0.0.0.0:3000 copypac openSUSE.org:home:hennevogel $i home:Admin; done
```
- Visit the monitor page and see the new labels for the different states.
Here is a screenshot of how it looks:
** Before **
![Screenshot of the project monitor](https://example.com/screenshot1.png)
** After **
![Screenshot of the project monitor](https://example.com/screenshot2.png)
-->
You can view, comment on, or merge this pull request online at:
#9980
-- Commit Summary --
* Always use public path to logfile in webui
-- File Changes --
M src/api/app/views/webui/package/_live_build_log_controls.html.haml (21)
-- Patch Links --
https://github.com/openSUSE/open-build-service/pull/9980.patch
https://github.com/openSUSE/open-build-service/pull/9980.diff
--
Adrian Schroeter
email: [email protected]
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany
|
also sourceaccess or access disabled projects will not work anymore |
@adrianschroeter ok, thanks for pointing this out 👍 |
krauselukas
added
the
DO NOT MERGE ⚠️
Explain yourself if you add/remove this label to a PR
label
Aug 5, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
DO NOT MERGE ⚠️
Explain yourself if you add/remove this label to a PR
Frontend
Things related to the OBS RoR app
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There is no benefit in using different routes to the log file,
for authenticated and non authenticated users in the webui,
since both deliver the exact same result.
Fixes #9880