Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to bundled binaries downloaded #4262

Open
stondino00 opened this issue Jan 10, 2025 · 4 comments
Open

Updates to bundled binaries downloaded #4262

stondino00 opened this issue Jan 10, 2025 · 4 comments
Labels
feature-request New feature request

Comments

@stondino00
Copy link

Hello,

Downloaded binaries are older versions and are not always kept up to date with oracle quarterly security updates and things. Can there be a built in updater button on the settings for this nextcloud app that checks for the most recent versions/security versions in the same release track?

@stondino00 stondino00 added the feature-request New feature request label Jan 10, 2025
@github-project-automation github-project-automation bot moved this to 0. Needs triage in Roadmap Jan 10, 2025
@vitormattos
Copy link
Member

Could you give more details about this?

The list of downloaded binaries is handmade updated making a PR to repository changing the version numbers.

@stondino00
Copy link
Author

For example, the java it downloads is from a year ago. There have been quarterly releases for java since then that fix vulnerabilities. I'm not sure about the rest of the downloaded binaries. Wasn't sure if all of these were checked regularly to keep them updated for any vulnerabilities.

image

@vitormattos
Copy link
Member

For now is necessary to do this handmade because are dependencies that come from a dependency manager system and because is necessary to get the newest URL to download a dependency.

Every when is created a new release of dependencies, is necessary to change at the follow places to run the tests and check if all will work fine.

public const JAVA_VERSION = 'openjdk version "21.0.2" 2024-01-16 LTS';
private const JAVA_PARTIAL_VERSION = '21.0.2_13';
private const JAVA_URL_PATH_NAME = '21.0.2+13';
public const PDFTK_VERSION = '3.3.3';
/**
* When update, verify the hash of all architectures
*/
public const CFSSL_VERSION = '1.6.4';

public const VERSION = '2.2.2';

Maybe a possible way to automatize this is creating a key/value list with the dependency name and the necessary data to download the dependency (url) and implement a function to each dependency checking if have a new release and put this scheduled into a GitHub Action that will be executed into a time interval, having updates, will change the dependencies file with the newest data and create a PR>

@vitormattos
Copy link
Member

I made the follow PR with updates of dependency versions:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request
Projects
Status: 0. Needs triage
Development

No branches or pull requests

2 participants