Updating package tables to 18.06

I updated the script in the server and started a rescan to populate again the pkgdata folder for the package table and index of the OpenWrt 18.06 release.
I noticed that now the server has 4 cores and 8GB of RAM, so the scan should take much less than before.

Still, for a few hours they probably won't be usable as the script needs time to scan and index stuff.

@tmomas As you can see if you go in site map, I moved the pkgdata folder contents into the pkgdata_lede17_1 folder, and I also cloned the package table and index pages to show Lede 17.01 packages from that package list.

I could change the link in the index page allright to point to that new source, but I'm not sure how to get this page (the package table for LEDE 17.01) https://openwrt.org/packages/table_lede17_1/start to point to that package list. Do you know how to do that?

1 Like

I'm not sure if I understand what you want to achieve (I blame this on the hot temperatures).

https://openwrt.org/packages/table/start -> points to packages in https://openwrt.org/packages/pkgdata/
https://openwrt.org/packages/table_lede17_1/start -> should point to packages in https://openwrt.org/packages/pkgdata_lede17_1/

Did I understand this correctly?

yes correct.

OK, I took a quick look:

You need something to filter for

  • either a class or
  • a new datafield or
  • a pageid (including namespace)

via class
modify dataentries:
---- dataentry packages ---- -> ---- dataentry packages_lede_17_1 ----
modify datatable:
filter : %class%=packages -> filter : %class%=packages_lede_17_1

-> alternative solution to pageid

via pageid
add a new filter in the datatable:
filter : %pageid%~packages:pkgdata_lede*

-> implemented in https://openwrt.org/packages/table_lede17_1/start

To be done: dataentries to be updated, so that the dependencies link to 17.01 packages:
Dependencies_pkg-dependencies -> Dependencies_pkg-dependency_17s

Ok, thanks. I will batch-edit the package files.

what should I change "Categories_pkg-category" to? It should link to the index page with the category of the packages.

For example the current link on a package in the network category like this https://openwrt.org/packages/pkgdata_lede17_1/464xlat
and should become

Good point, I forgot about that.

Categories_pkg-category -> Categories_pkg-category_17

1 Like

Ok batch-edit done, thanks!