-
Notifications
You must be signed in to change notification settings - Fork 74
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
Git scripts repository update fails #2130
Comments
If you use the current master of the scripts repository, that won't work with the alpha 2 software. Either you must use the alpha 2 scripts version or use the current master of the software. |
Thank you for your replay. I didn't change anything in the repo. Just went with the default. Would you mind telling me which url to use? I'm bit confused with
didn't fully grasp the meaning. |
Where did you get the latest version from? Phoenicis |
Sorry for being late. the issue has been resolved in latest release. |
Same problem here with Java 14. Stuck on: |
In fact, same problem with Java 11. |
Any suggestions? |
@qparis is it possible that there are some kinds of permissions missing? I think it is strange that |
I have completely wiped out my ~/Library/Phoenicis home directory and the problem is still the same.
Could we simply download an artifact archive from github and extract it? |
We can do that but it would make updating the scripts more difficult later on. |
Why? |
In my opinion calling a
In addition we would need to download all scripts instead of only the scripts that are really out of date. |
Git is very slow to perform these operation. We have so many problems that it makes Phoenicis hardy impossible to run. Concerning your fourth point, this is why we have a local repository implementation. The user should never update directly a file |
Miniatures are not part of the required elements to use Phoenicis, this is why I strongly encourage to lazy load them |
I agree, but I don't think that this is something that needs to be tackled right now. There are other areas I think we should prioritize like overhauling the internal repository structure and the way we access the repositories (#2107) and issues like #2104. As far as I understand it the git repository is used now because of its easy setup and its huge functionality. Later on when we are actively thinking about leaving the beta releases (which we have not entered yet) we should add a more sophisticated and performant repository type (i.e. a web repository which would fetch the scripts from a predefined source). Until we reach this point in time I would recommend that we fix the currently used git repository. |
The real problem is for macOS. Legacy version of PlayOnMac do no longer run and users are waiting for something working. The script directory structure is not something that prevent the software from being used ; whereas the git design seems to be a blocker for many users |
I understand this, but in my opinion I don't think that this is a sufficient reason for swapping our current git repository approach with something else. In my opinion it is easier and faster to first search for an error in the current implementation. If we can not find an error we should then open an issue in the jgit bugtracker (maybe we are not the only ones who have a problem with it on macOS?). Only afterwards I believe we should think about changing the git repository approach to something else. |
Totally agree. |
@plata I'd like to have your though here. Java IDE tend to use native git command. I wonder if there's a legitimate reason not to use jgit for them |
In general I would prefer a native Java solution because it will reduce our system dependencies. However, if this doesn't work properly, we should go for whatever works. I would really be interested what exactly is causing the issue in jgit in this case. I cannot really say much about this issue because I'm always using my own git checkout (local repository). |
I'm not sure anymore that this issue is really related to git. I rather have the impression that the view update does not work anymore if the content has not been loaded before the view is created. For example, I also cannot see a new category in the library after installing a new app (until I restart). Similarly, I couldn't see any apps after removing |
@plata is this still the case after #2149? The UI components depend on some component telling them what information they should display.
|
I have this issue using latest commit for both repos
|
@Zemogiter this error indicates that you do not use the latest software (only scripts). |
I have thought about the problems with our In my opinion the
I think this can be achieved if we provide at least 2 REST endpoints:
The benefit of this approach is that we could easily provide some kind of |
@qparis had planned the |
I can reproduce the issue that @qparis described on Linux Mint 19.3 using a clean installation of Phoenicis using the |
That's good. Can you debug what exactly is going on? |
I will give it a bit more time to fetch the repository because it seems as if Phoenicis is still doing something with around 50% CPU usage. |
Ok the issue seems to be related to the |
More detailed it hangs on: Git gitRepository = Git.cloneRepository()
.setURI(this.repositoryUri.toString())
.setDirectory(this.localFolder)
.setBranch(this.branch).call() |
Is it the command or the thread which executes the command? |
What do you mean by the command? |
The git clone. |
The freeze should occur in the |
Yes, my question is: Does the |
I can't tell. I think that it hangs somewhere inside the |
Mh. How could we figure out what's causing the problem? |
Do we have a logging configuration file? |
There is something in phoenicis-configuration. |
@qparis out of interest because you face the jgit problem as well: |
I tried mvn and a packaged installer |
@qparis starting phoenicis via Do both options fail for you or only the packaged installer? |
Both option fail |
Expected behavior
After opening PhoenicisPlayOnLinux and moving to app tab, it should download app list for PlayOnLinux.
Actual behavior
Opened the app and waiting for to 30 min. it never really fetch any data from internet and shows the loading animation.
Steps to reproduce
Install phoenicis-playonlinux 5.0_alpha2-3 app from org.manjaro.pamac.manager and move to app tab.
System information
Repo:
The text was updated successfully, but these errors were encountered: