Skip to content
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

project remote handling in webui broken #674

Closed
adrianschroeter opened this issue May 19, 2014 · 9 comments
Closed

project remote handling in webui broken #674

adrianschroeter opened this issue May 19, 2014 · 9 comments
Labels
Bug Frontend Things related to the OBS RoR app

Comments

@adrianschroeter
Copy link
Member

The webui does not support handling of remote projects since the webui/api merge.

This is esp. a problem for monitoring, since build logs are not accessable anymore.

We need to decide how to design the handling of remote objects (like project and packages).

Maybe this is a larger task, in that case we need a workaround solution for viewing at least log files again.

@hennevogel
Copy link
Member

build logs for remote projects? please explain

@adrianschroeter
Copy link
Member Author

When you rebuild an entire project, but this project is hosted on a remote OBS instance. You can do that via <project link=... and repository configuration in project meta data. Better described here:

http://en.opensuse.org/openSUSE:Build_Service_Concept_project_linking

This leads to the situation that you have local build results (/build/ route), but all sources and package objects do not exist locally.

@hennevogel
Copy link
Member

@coolo didn't you already separated them?

@coolo
Copy link
Member

coolo commented May 19, 2014

I seperated packages in a prj and packages inherited from a project link, correct. But adrian adds remote instances to the mix, so he actually links to a remote project. And quite a bunch of API code and most of the webui code doesn't like remote projects as they are not objects but strings (sic!)

@hennevogel
Copy link
Member

Here we are again, doing stuff to things that aren't objects...

@adrianschroeter
Copy link
Member Author

well, question is how they can become objects. We do not want to create and destroy objects just because it got changed on the remote instance IMHO.

So, we need to create some kind of object on the fly when requesting it. Currently it is a string object, which is sub-optimal.

@coolo
Copy link
Member

coolo commented May 19, 2014

most objects are "on the fly", we don't want them to be activerecords - I agree with that.

@ancorgs
Copy link
Member

ancorgs commented May 19, 2014

@hennevogel hennevogel removed their assignment Nov 11, 2014
@adrianschroeter
Copy link
Member Author

we still some regressions here, but build logs and some commands are working in most important conditions at least again. So, I close this generic report for now. Created more specific reports the other day and we discussed the generic redesign here some weeks ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app
Projects
None yet
Development

No branches or pull requests

4 participants