Trace: Updating RePoSyD

Updating RePoSyD

Updating RePoSyD

Update a RePoSyD Instanz

Check for Patches

This chapter describes how to check your installation for available patches within a version branch. A patch is available if the third digit of the version number (5.7.0 → 5.7.1) has been incremented.

Press Win+X, select Windows PowerShell (Admin) or Terminal (Admin) and run the following commands:

cd c:\reposyd\service

.\reposyd-cli install check

C:\> cd c:\reposyd\service
C:\reposyd\service>

In this example, a patch is available for the RePoSyD application (@reposyd/app), and the application would be updated from version 5.6.8 to 5.6.10.

C:\reposyd\service> .\reposyd-cli install check
@reposyd/app       5.6.8 →  5.6.10 
@reposyd/service   5.20.0  up to date
@reposyd/templates 5.4.1       up to date

Check for Updates

To check if an update to a new version is available, you must specify the argument minor when calling the command. A update is available if the second digit of the version number (5.6.10 → 5.7.1) has been incremented.

.\reposyd-cli install check minor

In this example, an update is available for the RePoSyD application (@reposyd/app), and the application would be updated from version 5.6.8 to 5.7.1.

C:\reposyd\service> .\reposyd-cli install check minor
@reposyd/app       5.6.8  → 5.7.1
@reposyd/service   5.20.0   up to date
@reposyd/templates 5.4.1    up to date

Install the latest Patch

Press Win+X, select Windows PowerShell (Admin) or Terminal (Admin) and run the following commands:

.\reposyd-cli install update

C:\reposyd\service> .\reposyd-cli install update minor
INFO: update started
WARN: The update for the RePoSyD application must be performed manually!
WARN: The version file is located in the directory: C:\reposyd\data\packages
INFO: update completed

Install the latest Update

Update RePoSyD CLI

Press Win+X, select Windows PowerShell (Admin) or Terminal (Admin) and run the following commands:

yarn config set registry https://registry.reposyd.de yarn global add @reposyd/service

C:\> yarn config set registry https://registry.reposyd.de
yarn config v1.22.19
success Set "registry" to "https://registry.reposyd.de".
Done in 0.04s.

C:\> yarn global add @reposyd/service
yarn global v1.22.22
[1/4] Resolving packages...
warning @reposyd/service > @reposyd/templates > loadash@1.0.0: Package is unsupport. Please use the lodash package instead.
warning @reposyd/service > @reposyd/rg > svg2png > phantomjs-prebuilt@2.1.16: this package is now deprecated
warning @reposyd/service > @reposyd/rg > svg2png > phantomjs-prebuilt > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @reposyd/service > @reposyd/rg > svg2png > phantomjs-prebuilt > request > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @reposyd/service > @reposyd/rg > svg2png > phantomjs-prebuilt > request > har-validator@5.1.5: this library is no longer supported
[2/4] Fetching packages...
warning @zip.js/zip.js@2.8.26: The engine "deno" appears to be invalid.
warning @zip.js/zip.js@2.8.26: The engine "bun" appears to be invalid.
[3/4] Linking dependencies...
warning "@reposyd/service > @reposyd/core > @reposyd/utils > datetime-locale-patterns > cldr-dates-full@44.0.1" has unmet peer dependency "cldr-numbers-full@44.0.1".
[4/4] Building fresh packages...
success Installed "@reposyd/service@5.20.0" with binaries:
      - reposyd
Done in 22.98s.

Issues

  • node-pre-gyp ERR ECONNRESET The error is due to connection issues with https://release-assets.githubusercontent.com. The only (unfortunate) option in this case is to repeat the installation until it completes successfully.

The installation of @reposyd\cli as a global package may fail using yarn. In this case use npm for the installation.

npm config set registry https://registry.reposyd.de

npm i -g @reposyd/service

C:\> npm config set registry https://registry.reposyd.de

C:\> npm i -g @reposyd/service

Installing @reposyd/service behind a Proxy Server

If RePoSyD is installed in a corporate environment, you may need to configure YARN to provide authentication for the proxy server. Open a command shell and enter the following commands to configure NPM to use an HTTP and/or HTTPS proxy.

$ yarn config set proxy http://username:password@host:port
$ yarn config set https-proxy http://username:password@host:port

Or add the settings directly to your ~/.yarnrc file:

proxy=http://username:password@host:port
https-proxy=http://username:password@host:port

Verifing the Installation

C:\> reposyd -V
2.0.0

C:\>
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies