Oolite Website Domain & Fixing the Expansions Manager
Moderators: winston, another_commander
Re: Oolite Website Domain & Fixing the Expansions Manager
If memory serves clicking on the name of an OXZ on either the Main Page or the Expansion Packs page took you to the wiki entry for that OXZ. Clicking on the download icon on the Expansion Packs page would download the OXZ. Usually the wiki entry for an OXZ has a download link as well.
Humor is the second most subjective thing on the planet
Brevity is the soul of wit and vulgarity is wit's downfall
Good Night and Good Luck - Read You Soon
Brevity is the soul of wit and vulgarity is wit's downfall
Good Night and Good Luck - Read You Soon
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Oolite Website Domain & Fixing the Expansions Manager
I think I am getting the point. Now I have an idea.timer wrote: ↑Mon Oct 09, 2023 7:39 pmbut...timer wrote: ↑Mon Oct 09, 2023 7:30 pmAt the moment the site OXP page is fixed - download links work, or are you asking about something else?Nite Owl wrote: ↑Mon Oct 09, 2023 4:44 pmMy guess is that this great work you are doing will eventually solve the issue of the wiki and/or download links for Expansions looping back to the Main Page of the web site? The looping occurs with the links on both the Main Page and the Expansion Packs page.
@hiran, we have a problem: if theinformation_url
is empty - the link point on the main page of the site. The "right download" link (icon) works, but if you click on the package name itself, it redirect you to the main page.
Perhaps I should disable displaying the name as a link ifinformation_url
is empty?
With the OoliteAddonScanner I used to create the Index of Artefacts.
The wiki page could need an update again. But this is the point: I'd like to push the generated index into the site so it is available for browsing directly.
Why do I mention that?
Inside this index I have a link to the wiki for each and every item - be it some expansion, a ship or other equipment. I could leverage the same algorithm to provide the information_url in the expansion catalog or the oxp.json file. Have you had a chance to download the OoliteExpansionIndex?
I still would like to add these files into the oolite-web repo, similar like the index.html or the oxp.json.
Sunshine - Moonlight - Good Times - Oolite
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Oolite Website Domain & Fixing the Expansions Manager
Nice!
Sunshine - Moonlight - Good Times - Oolite
- timer
- ---- E L I T E ----
- Posts: 336
- Joined: Sat Mar 17, 2012 8:26 pm
- Location: Laenin spiv club
- Contact:
Re: Oolite Website Domain & Fixing the Expansions Manager
Yes that's right.Nite Owl wrote: ↑Mon Oct 09, 2023 8:28 pmIf memory serves clicking on the name of an OXZ on either the Main Page or the Expansion Packs page took you to the wiki entry for that OXZ. Clicking on the download icon on the Expansion Packs page would download the OXZ. Usually the wiki entry for an OXZ has a download link as well.
Previously, the "main manifest" was generated from data in the database on the old site(server) - there, in fact, information_url (that contains link to wiki or forum) was filled for each extension - it was filled when adding a package in the admin panel.
But not every developer added this field (information_url) to the manifest.plist. The "main manifest" is now generated by scanning and extracting data(from manifest.plist) directly from the oxz archives. This is why the links to the wiki or forum pages for many packages are now gone.
After the old site stopped working (now apparently forever) we lost the mechanism for generating the "main manifest" from the database. The current generation mechanism is implemented by @hiran, it's great that he did this! The data itself (from database) has not disappeared anywhere - we have it. I'm sure we'll find way to solve all the problems )
Cobra MK III owner since 1994
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Oolite Website Domain & Fixing the Expansions Manager
I think now I get the impact. Thank you for the explanation, Timer.timer wrote: ↑Tue Oct 10, 2023 6:25 amYes that's right.Nite Owl wrote: ↑Mon Oct 09, 2023 8:28 pmIf memory serves clicking on the name of an OXZ on either the Main Page or the Expansion Packs page took you to the wiki entry for that OXZ. Clicking on the download icon on the Expansion Packs page would download the OXZ. Usually the wiki entry for an OXZ has a download link as well.
Previously, the "main manifest" was generated from data in the database on the old site(server) - there, in fact, information_url (that contains link to wiki or forum) was filled for each extension - it was filled when adding a package in the admin panel.
But not every developer added this field (information_url) to the manifest.plist. The "main manifest" is now generated by scanning and extracting data(from manifest.plist) directly from the oxz archives. This is why the links to the wiki or forum pages for many packages are now gone.
After the old site stopped working (now apparently forever) we lost the mechanism for generating the "main manifest" from the database. The current generation mechanism is implemented by @hiran, it's great that he did this! The data itself (from database) has not disappeared anywhere - we have it. I'm sure we'll find way to solve all the problems )
I did not like the discrepancy between the catalog and the expansions' manifests - but apparently the catalog was more well maintained. We need to start maintaining the OXZs. Something I am discussing with Cholmondely anyway.
Sunshine - Moonlight - Good Times - Oolite
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Oolite Website Domain & Fixing the Expansions Manager
So what critical information do we need to have in the manifests, that isn’t there now? information_url, obviously. Any others?
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Oolite Website Domain & Fixing the Expansions Manager
OoliteAddonScanner has repeatedly scanned all the OXZs and compared them with the expansions catalog.
The last result generated before we switched the catalog management is here: https://github.com/HiranChaudhuri/Oolit ... x-20230901
When extracting the zip, you will find an index.html that allows you to browse all expansions and see a table showing manifest and catalog information side by side. We can also quickly see which expansions have which wiki URL (if any).
If you want to know which expansions should be of interest, browse to the warnings page.
Hope this helps.
Sunshine - Moonlight - Good Times - Oolite
- timer
- ---- E L I T E ----
- Posts: 336
- Joined: Sat Mar 17, 2012 8:26 pm
- Location: Laenin spiv club
- Contact:
Re: Oolite Website Domain & Fixing the Expansions Manager
well... for the site it’s probably just an information_url. In the evening I will try to compare in detail what is being generated now with what was previously.
The interesting thing is that if inside each manifest.plist there was all the necessary information in all the archives, then the situation would be quite good )
A list of URLs as the source of catalogue("main manifest") generation is an elegant and simple solution. I assume that we will supplement it with the fact that URLs will be added to this list through the admin panel of the new site - this will allow validation of the added extension, because all summary information is only in the database, and you can fully check all dependencies, tags, etc. Only the database will allow it. This will also make it possible to differentiate rights - who can change/delete/deactivate which URLs.
@phkb, @hiran - what do you think about this?
I can write script that will generate the catalogue from the database exactly as it was before, but I'm not sure that this will be the right step.
Cobra MK III owner since 1994
- timer
- ---- E L I T E ----
- Posts: 336
- Joined: Sat Mar 17, 2012 8:26 pm
- Location: Laenin spiv club
- Contact:
Re: Oolite Website Domain & Fixing the Expansions Manager
please, figure out where to post this on the site?hiran wrote: ↑Mon Oct 09, 2023 8:54 pmI think I am getting the point. Now I have an idea.
With the OoliteAddonScanner I used to create the Index of Artefacts.
The wiki page could need an update again. But this is the point: I'd like to push the generated index into the site so it is available for browsing directly.
Why do I mention that?
In which section (create a new one)?
On what page?
What should I name the link?
Cobra MK III owner since 1994
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Oolite Website Domain & Fixing the Expansions Manager
We could stick with the name 'Index of Artifacts'. Where you think it fits is not even important: we can still rename or move it around.timer wrote: ↑Tue Oct 10, 2023 7:25 amplease, figure out where to post this on the site?hiran wrote: ↑Mon Oct 09, 2023 8:54 pmI think I am getting the point. Now I have an idea.
With the OoliteAddonScanner I used to create the Index of Artefacts.
The wiki page could need an update again. But this is the point: I'd like to push the generated index into the site so it is available for browsing directly.
Why do I mention that?
In which section (create a new one)?
On what page?
What should I name the link?
I was more asking for a directory to push the files in. Maybe I will just create something.
Sunshine - Moonlight - Good Times - Oolite
- timer
- ---- E L I T E ----
- Posts: 336
- Joined: Sat Mar 17, 2012 8:26 pm
- Location: Laenin spiv club
- Contact:
Re: Oolite Website Domain & Fixing the Expansions Manager
IMHO here:hiran wrote: ↑Tue Oct 10, 2023 12:05 pmWe could stick with the name 'Index of Artifacts'. Where you think it fits is not even important: we can still rename or move it around.timer wrote: ↑Tue Oct 10, 2023 7:25 amplease, figure out where to post this on the site?hiran wrote: ↑Mon Oct 09, 2023 8:54 pmI think I am getting the point. Now I have an idea.
With the OoliteAddonScanner I used to create the Index of Artefacts.
The wiki page could need an update again. But this is the point: I'd like to push the generated index into the site so it is available for browsing directly.
Why do I mention that?
In which section (create a new one)?
On what page?
What should I name the link?
I was more asking for a directory to push the files in. Maybe I will just create something.
https://github.com/OoliteProject/oolite ... /root/html
in the end, you can do everything yourself - if I don’t like something, we’ll discuss it and change it
Cobra MK III owner since 1994
- timer
- ---- E L I T E ----
- Posts: 336
- Joined: Sat Mar 17, 2012 8:26 pm
- Location: Laenin spiv club
- Contact:
Re: Oolite Website Domain & Fixing the Expansions Manager
ooh, I just took a closer look at "Oolite Known Universe"... it seems to me that there is too much "raw" information there...
I'm not sure that we should dump this information on site visitors in such a form and in such a volume...
I'm not sure that we should dump this information on site visitors in such a form and in such a volume...
Cobra MK III owner since 1994
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Oolite Website Domain & Fixing the Expansions Manager
I need a space where users can browse the files directly. I did not ask to place them in the middle of the homepage...
Sunshine - Moonlight - Good Times - Oolite
- timer
- ---- E L I T E ----
- Posts: 336
- Joined: Sat Mar 17, 2012 8:26 pm
- Location: Laenin spiv club
- Contact:
Re: Oolite Website Domain & Fixing the Expansions Manager
https://artifacts.oolite.space
Cobra MK III owner since 1994