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
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
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
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
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:\>