Oolite Website Domain & Fixing the Expansions Manager

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4814
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

Post by phkb »

hiran wrote: Mon Oct 02, 2023 10:17 pm
Would that be good enough?
I tend to operate on a process of "Lets-put-something-together-so-we-can-see-it-and-then-discuss". So yes, definitely good enough.
User avatar
hiran
Theorethicist
Posts: 2340
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

Post by hiran »

phkb wrote: Mon Oct 02, 2023 10:21 pm
hiran wrote: Mon Oct 02, 2023 10:17 pm
Would that be good enough?
I tend to operate on a process of "Lets-put-something-together-so-we-can-see-it-and-then-discuss". So yes, definitely good enough.
Then let's create that repository. Currently my privileges do not allow me to do it myself. Do we need A_C?
Sunshine - Moonlight - Good Times - Oolite
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4814
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

Post by phkb »

hiran wrote: Mon Oct 02, 2023 10:29 pm
Then let's create that repository. Currently my privileges do not allow me to do it myself. Do we need A_C?
We shouldn't. I seem to have enough privileges to create a new repository. What do you want to call it?
User avatar
hiran
Theorethicist
Posts: 2340
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

Post by hiran »

phkb wrote: Mon Oct 02, 2023 11:02 pm
hiran wrote: Mon Oct 02, 2023 10:29 pm
Then let's create that repository. Currently my privileges do not allow me to do it myself. Do we need A_C?
We shouldn't. I seem to have enough privileges to create a new repository. What do you want to call it?
How about ExpansionCatalog or expansion-catalog?

It would contain the list of URLs (spread over one file, maybe multiple files lateer), a readme.md, and the Github Action to convert the list of URLs into a real catalog.

The Action: As the work gets done by OoliteAddonScanner which creates the Index Of Artefacts as a side effect, both the generated catalog and the Index of Artefacts could be pushed into the website. This would get triggered upon changing the repository content and once a month.
Sunshine - Moonlight - Good Times - Oolite
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4814
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

Post by phkb »

hiran wrote: Tue Oct 03, 2023 9:25 am
How about ExpansionCatalog or expansion-catalog?
Trying to be consistent with the other names...

There is now a "oolite-expansion-catalog" repository in the OoliteProject. Should be ready to use. Let me know if anything needs tweaking.
User avatar
hiran
Theorethicist
Posts: 2340
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

Post by hiran »

phkb wrote: Tue Oct 03, 2023 9:58 am
There is now a "oolite-expansion-catalog" repository in the OoliteProject. Should be ready to use. Let me know if anything needs tweaking.
That will do. Could you raise my privileges in there? I'll have to configure secrets so we can write to the oolite-web repository.
Sunshine - Moonlight - Good Times - Oolite
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4814
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

Post by phkb »

hiran wrote: Tue Oct 03, 2023 10:06 am
Could you raise my privileges in there? I'll have to configure secrets so we can write to the oolite-web repository.
Done. Let me know if that level is sufficient.
User avatar
hiran
Theorethicist
Posts: 2340
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

Post by hiran »

phkb wrote: Tue Oct 03, 2023 10:14 am
hiran wrote: Tue Oct 03, 2023 10:06 am
Could you raise my privileges in there? I'll have to configure secrets so we can write to the oolite-web repository.
Done. Let me know if that level is sufficient.
I can see some more options. But I cannot even see which level you assigned.
On the other hand, I still have no access to secrets so it is not sufficient.
Last edited by hiran on Tue Oct 03, 2023 10:23 am, edited 2 times in total.
Sunshine - Moonlight - Good Times - Oolite
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4814
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

Post by phkb »

hiran wrote: Tue Oct 03, 2023 10:17 am
On the other hand, I still have no access to secrets so it is not sufficient.
I've increased you to "admin" level on the "oolite-expansion-catalog" repository. That's the highest one I can assign.
User avatar
hiran
Theorethicist
Posts: 2340
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

Post by hiran »

phkb wrote: Tue Oct 03, 2023 10:22 am
hiran wrote: Tue Oct 03, 2023 10:17 am
On the other hand, I still have no access to secrets so it is not sufficient.
I've increased you to "admin" level on the "oolite-expansion-catalog" repository. That's the highest one I can assign.
Now I have the necessary access, and I can see what has been configured in that respect. Thank you. :-)
Sunshine - Moonlight - Good Times - Oolite
User avatar
hiran
Theorethicist
Posts: 2340
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

Post by hiran »

The new project already builds the plist.
To reduce the time to test I just added three URLs.
Now I am testing the publishing mechanism.

If that works we will have a catalog with only three expansions. But there is an easy fix: Add all the download URLs - the new catalog gets built and published automatically.
Sunshine - Moonlight - Good Times - Oolite
User avatar
hiran
Theorethicist
Posts: 2340
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

Post by hiran »

It has happened. The expansions catalog only contains three expansions.
Now it is time to reconstruct the full list.

Edit: I noticed something is weird on the grammar. Some fields are missing. Working on it...
Edit2: Problem fixed. We now just need to add more expansion URLs. If someone has a quick way to get the full list - it is welcome.
Edit3: I added all the existing URLs that I knew of.

We can go into normal maintenance now - which means that OXP authors may keep the file up to date.
Sunshine - Moonlight - Good Times - Oolite
User avatar
timer
---- E L I T E ----
---- 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

Post by timer »

damn... why didn't you email me? :((((
I always read my emails non-stop.
cron-script stopped (now forever?).
fixing...

UPD: fixed index.html for api/1.0/overview/
link to old.oolite.space/admin removed from OXP page.
Cobra MK III owner since 1994
User avatar
timer
---- E L I T E ----
---- 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

Post by timer »

To quickly solve the problem of an incorrect manifest file that the game uses, I did a reverse conversion (with my scripts) from file data/oxp.json to plist format (file api/1.0/overview/index.html)
everything seems to be working...

Now we don't have a manifest editing tool :(

Let me clarify again - the site uses /data/oxp.json, and the game downloads api/1.0/overview/index.html
These files must be synchronized, otherwise the data of the in-game extension manager will differ from what we see in the table on the website.

I'll have to try kicking myself to speed up the creation of the editor...
Cobra MK III owner since 1994
User avatar
timer
---- E L I T E ----
---- 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

Post by timer »

phkb wrote: Sat Sep 30, 2023 1:14 pm
hiran wrote: Sat Sep 30, 2023 12:54 pm
It seems the old server was deactivated,
The DB is still active and working. I just logged into it to check.
I hope, that last backup exists
Cobra MK III owner since 1994
Post Reply