Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:guide-developer:releases:update_package_list [2021/09/15 22:07] – added commands to edit package table bobafetthotmaildocs:guide-developer:releases:update_package_list [2023/03/14 23:01] (current) – fix typos in code boxes formatting, minor clarifications bobafetthotmail
Line 2: Line 2:
  
 The package list and package Indexes are generated by a script, so we will first need to move the current data to a permanent place (so it can still be viewed in the wiki as a "old stable" release), rename it, and then edit two strings in the script to make it point to the new release.\\ The package list and package Indexes are generated by a script, so we will first need to move the current data to a permanent place (so it can still be viewed in the wiki as a "old stable" release), rename it, and then edit two strings in the script to make it point to the new release.\\
 +
 +In the following instructions, the "new release" is 21.02, the "old release" is 19.07 and the "legacy/older release" is lede 17.1. Adjust the versions accordingly to your current situation.
  
 Download the current release of the "CSV dump of the package database, updated daily" from [[ packages:start | this page]] and rename it to have the release version in it. For example **packages_dump_tab_separated_19.07.zip**. We will upload this later when we adjust the page. Download the current release of the "CSV dump of the package database, updated daily" from [[ packages:start | this page]] and rename it to have the release version in it. For example **packages_dump_tab_separated_19.07.zip**. We will upload this later when we adjust the page.
  
-You will need ssh access and sudo/root access to the openwrt.org server to do the following+You will need ssh access and after you became root user in the openwrt.org server to do the following
  
 we can find current package files in this folder we can find current package files in this folder
Line 71: Line 73:
  
 Now we edit the package indexing script Now we edit the package indexing script
-</code>+<code>
 cd /root cd /root
 nano listpackages-server nano listpackages-server
Line 140: Line 142:
 If you don't want to wait for the script to finish, you can also launch a page rescan so the wiki will re-read all text files and notice this manual change. If you don't want to wait for the script to finish, you can also launch a page rescan so the wiki will re-read all text files and notice this manual change.
  
 +<code>
 nohup  sudo -u www-data /usr/bin/php7.0 /var/www/dokuwiki/bin/indexer.php -c  & nohup  sudo -u www-data /usr/bin/php7.0 /var/www/dokuwiki/bin/indexer.php -c  &
 +</code>
  • Last modified: 2021/09/15 22:07
  • by bobafetthotmail