-
Notifications
You must be signed in to change notification settings - Fork 303
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
type index uses the wrong namespace #1002
Comments
Unfortunately this also means that we are possibly going to have to go into the server and change users' files in order to make the system work. This is the right thing to do on solid.community, imho. Inrupt is going to have to decide whether they wish to make this decision. I would recommend yes! There may be some workarounds, but I cant think of one at the moment. cc : @timbl @johnbizguy Hopefully not too many accounts are affected. First step tho is to work out what is causing this, and how much of an issue it is. |
I'd agree that it is quite likely a typo. Perhaps @dmitrizagidulin can quickly confirm that - perhaps more importantly, if there was a reason to be different than the http use of the ns. https is also used in privateTypeIndex.ttl re:
they were always using https. So, @melvincarvalho , if your publicTypeIndex.ttl used http, it is unlikely that it came from the templates. A simple explanation may be that you've changed it manually at some point? |
Could well be! I can do some further analysis to confirm. That might actually make life a bit easier. Do note : the canonical prefixes are clearly articulated in the vocab README |
So the steps needed :
Anything else? I'd like to get this fixed on solid.community asap or else apps will not work or work inconsistently. |
As a stop gap I think I can manually edit the template files to fix the typo, and write a script to substitute the the right namespace in all ~/settings/ directories that I find. Thoughts welcome! |
Acknowledged. I don't doubt the http use at all - as it is by the far the majority of the uses in code/data out there. As I've mentioned elsewhere, it was always http to the best of knowledge. I recall discussing at some point (somewhere) but we decided to stick to http. The README, the base in the ns, type registries... came much later. |
Quick 5 minute script to fix this issue : https://gist.github.com/melvincarvalho/b6c7121f2c239c1878a26e9465fa1166 Im sure it can be improved upon. Disclaimer : for guidance only, do not consider this to be production quality |
I am now able to fix solid.community but have not done so yet, I'll coordinate this with @ericprud who I've run the plan by. Only concern raised is that we dont want to be out of sync with whatever is on github. @kjetilk is there a way we can get a patch into the master of 4.4.0? -- we're currently running 4.2.0 which is a side issue, but would like to upgrade. |
So, I think this is quite a tricky one to fix. @ericprud has sensibly suggested to have any changes in github. What I'd also like to do is keep an audit trail of the steps. So I've done a few things.
I hope this addresses as many concerns on this issue as I can, feedback welcome! |
@melvincarvalho Yes, I think it this is something we can do a release off of master of, e.g. 4.4.1 once we have a PR for it. Meeting week now, but I'll try to catch up on the bugs when I can. |
OK, then let's try and align around 4.4.1. I'll put in a PR for the change. Should be quite small. It can wait a few days unless there are some apps are breaking due to this. More concern is changing the data on the server, which is kind of manual. |
Any chance you could do submit it soon, @melvincarvalho ? I'd like to get it into 5.0.0 too as soon as possible. |
I'll close this now, since it is fixed in the 5.0.0 beta, which is what I'm pursuing. If someone wants to backport it to 4.x, please do so, we can certainly make a release, but there is little focus on that now. |
Thanks again for working on this PR. I believe, there is a consensus to move solid.community to 4.4, in order to benefit from the new quota system, hopefully I can free up some time to help with that. @kjetilk I thought the plan was to add this the 4.4 branch? Fixing type indexes is beneficial in order for apps to do the right thing.
OK, I'll give it a try! If you could let me know the release process, Ill see if im able to create a 4.4.1 release, then. Or just walk me through the steps and I'll go through them, as best I can. Do you think it would also be nice for the community pod to coordinate with inrupt.net so that there is a consistent user and developer experience? I think this has generally been considered desirable. If so, do you have any info on what version inrupt.net is running (or how I can find out -- ie 4.3 or 4.4) and upgrade plans. Thanks in advance! |
@melvincarvalho I'm just afraid to spread myself to thinly, as I tend to do that, so that's why I focused on 5.0.0, as I think everyone should go there ASAP, the "S" in ASAP isn't right now, as we are already spread to thinly :-) . I can certainly merge the PR and do the release, that's just a few buttons to press, though. But it is really great if you could make the PR, @melvincarvalho against |
@kjetilk got it! Thanks, I'll give it a try. |
As reported here #995 (comment)
Is being produced in some type indexes.
My own is fine : https://melvin.solid.community/settings/publicTypeIndex.ttl
But I can confirm that more recent accounts have the incorrect https namespace. This is a major bug, and we need to urgently find the source.
The text was updated successfully, but these errors were encountered: