-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Suddenly stopped working #22
Comments
Hi @haarj, what do you mean by it stopped working? Is there an error? Everything appears to work fine on my end. |
Hey Kilian,
When I run "swift-outdated" in my terminal, it just hangs and never outputs
anything. I'm not sure how to log anything because it just gets stuck.
…On Mon, May 1, 2023 at 1:44 AM Kilian Koeltzsch ***@***.***> wrote:
Hi @haarj <https://github.com/haarj>, what do you mean by it stopped
working? Is there an error? Everything appears to work fine on my end.
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACEBZGTFDBBWKRMSYYYANTTXD5ESVANCNFSM6AAAAAAXQZ7SQI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
How did you install swift-outdated? From the title I assume it worked before? Are you aware of any changes in your installation? Do you see a version when running |
Hey @kiliankoe I have 0.4.0 and installed through Homebrew. It did work before then one day it just got stuck. I would assume that all of my swift packages are available since "swift-outdated" was working just fine. Maybe I'll have to go through each of them and see if one updated recently and what those changes were. |
Could you maybe check and see if swift-outdated works in another (sample) project on your machine? That would rule out any kind of broken installation. Feel free to also just clone this repo and run it inside of that, it should show you something like this.
|
Just cloned and yes it works. Hmm! What do you suggest here? |
Ah! In that case I'm willing to guess one of your dependencies is hosted somewhere |
It could be the one where I am forced to use the "master" branch instead of a specific version in the version rules. Could this be the culprit? For whatever reason this specific package won't work specifying a "version". |
I thought that that should be working (and just gets ignored by swift-outdated), but maybe I'm mistaken. Is this a public dependency that you could share? And if not, are the version tags there somehow malformed, e.g. not just "1.2.3" or "v1.2.3"? |
Hmm, that doesn't appear to be a problem. Also I've checked to make sure and packages without resolved versions (such as your pin on master) are filtered and shown correctly. Are you sure you don't have an internal dependency in your project that's only accessible over a VPN or something? Because swift-outdated definitely locks up if it can't make that network request. |
Yea all of my packages were working just fine and then suddenly just stopped. Is there a way I can debug this on my end? See at what step "swift-outdated" gets locked up? |
Hey @haarj, I just pushed the branch |
Sorry @kiliankoe. Little bit of an amateur here. I did the |
Ah, no worries! What I meant was the following, assuming swift-oudated is checked out in
When running |
Aha! So it's logging a bunch and hangs on UIOnboarding
Actually after running that command a couple of times, it hangs on different ones each time. |
Are you seeing any output of "Package $name has resolved version, queueing version fetch." that's not matched with a "Found $count versions for $name."? And is that consistent by any chance? |
jdstatusbarnotification had no "Found $count for $name" and dznemptydataset I point to the "master" branch for its SPM just FYI. |
I assume that's https://github.com/calimarkus/JDStatusBarNotification or are you using a fork? If it is that, I don't know what's going on, unfortunately that package is also working fine on my end if I add it as a dependency :/ Does |
Yea all of the tags are there. |
I... don't know. The fact that it stopped working before you added My last theory would be that it's somehow deadlocking itself through the concurrent version lookups, I gotta say I'm not super comfortable with the async/await APIs yet. The current implementation uses a |
Sorry @kiliankoe wish I could be of more help. I tried reinstalling |
Hi @haarj, I just added a new branch/PR |
Hey @kiliankoe I tried that but it always hangs on "Found X versions for {swift-package}." |
Ah ok, so my assumption about it somehow locking up due to the concurrent version fetches is moot then. Worth a try I guess, thanks for checking though! |
No problem and thanks for helping! |
No description provided.
The text was updated successfully, but these errors were encountered: