-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
[BUG] Can't publish update to existing package #78
Comments
Just tried publishing a trivial change to savetheclocktower/atom-inline-autocomplete-textmate with the same result, so it's not just one package for me. |
To help myself work this out later, here is a stripped down log from the backend server during this request.
A note here about the logs, we can see where it says So this means in
Then the following is the signature from
|
I futzed around a bit and I think I know what's going on. During the process of creating a new version of an existing package, the backend calls This range represents as far as I get into The name of the variable should've been a clue already, but when we get into I just started hacking on this today, so I'm not sure what the best fix is, but this makes me wonder how any packages are being updated. |
Good investigative work. These changes could be a regression on our end. The best fix for this really is already written over in #50 As this whole section of code is rewritten there now knowing what we know. So if this is truly the case that means that nothing can be updated right now, which isn't ideal |
I've gone ahead and pushed the changes in #50 (and all other PR's merged from then to today) live in production. It is still missing some of the new testing features I wanted, but there were other fixes that needed to be pushed out, so I've bit the bullet. So we will get to find out if hopefully this works. Feel free to let me know or wait until the next tagged version which will happen once all testing changes I've been hoping for are made. |
OK, now I'm getting this:
Edit: Same error on another of my packages. |
So while there still is a bug about publishing, since it is a major improvement over this one, I'll go ahead and close this issue. Your contributions are greatly appreciated, thank you! PS. As for the current issue that effects this I've pinned the issue for greater visibility |
Is this Bug Present in the upstream API Server?
What is the Bug
When I try to publish a new version of savetheclocktower/calculator-light-ui via
ppm publish patch
, I get the messageCreating new version failed: The package.json at owner/repo isn't valid.
.Via logging, I can ascertain that
ppm
is getting as far as making an API request tohttps://pulsar-edit.com/api/packages/calculator-light-ui/versions
, but one of the tasks that occurs on the backend during that request is apparently throwing a"Bad package"
error.Quoth @confused-Techie on Discord:
How to Replicate the Bug
Be me, @savetheclocktower, and try to publish a new version of
calculator-light-ui
.OK, seriously: I don't know if this is happening for anyone else, nor have I tried to publish new versions of any of my other packages yet.
The text was updated successfully, but these errors were encountered: