Page 11 of 27

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Mon Oct 02, 2023 10:21 pm
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.

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Mon Oct 02, 2023 10:29 pm
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?

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Mon Oct 02, 2023 11:02 pm
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?

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Tue Oct 03, 2023 9:25 am
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.

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Tue Oct 03, 2023 9:58 am
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.

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Tue Oct 03, 2023 10:06 am
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.

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Tue Oct 03, 2023 10:14 am
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.

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Tue Oct 03, 2023 10:17 am
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.

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Tue Oct 03, 2023 10:22 am
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.

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Tue Oct 03, 2023 10:23 am
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. :-)

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Tue Oct 03, 2023 5:30 pm
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.

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Tue Oct 03, 2023 7:04 pm
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.

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Wed Oct 04, 2023 9:35 am
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.

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Wed Oct 04, 2023 10:19 am
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...

Re: Oolite Website Domain & Fixing the Expansions Manager

Posted: Wed Oct 04, 2023 10:22 am
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