helsinki-systems / nc4nix Goto Github PK
View Code? Open in Web Editor NEWRead-Only mirror of our GitLab repository
License: MIT License
Read-Only mirror of our GitLab repository
License: MIT License
I ran the generate.sh from nixpkgs to add the extension
https://apps.nextcloud.com/apps/les_pas_photo_app_for_android_phone
generate.sh doesnt add the extension, i suppose because the previous page doesnt list any version contrary to https://apps.nextcloud.com/apps/maps for instance where you can see all the downloads.
What bothers me (after removing the rm *.log
call) is that no log is generated. I would expect the software to tell me it couldn't find the app ! )
2023/08/12 18:50:42 Writing 27-new.json
2023/08/12 18:50:42 Replacing 27.json with 27-new.json
2023/08/12 18:50:42 Writing 27-new.log
2023/08/12 18:50:42 Replacing 27.log with 27-new.log
2023/08/12 18:50:42 Finished processing version 27.0.1
nix-repl> nextcloud26Packages.apps.mail.meta.license
error: attribute 'license' missing
at «string»:1:1:
1| nextcloud26Packages.apps.mail.meta.license
| ^
I've been trying to speed up the nextcloud updater script in nixpkgs NixOS/nixpkgs#244057 (comment) but I am limited by the opiniated choices made in nc4nix. Could nc4nix output to stdout its content ? the caller could then choose where to output the generated content via shell redirection ?
aka nc4nix > nc27.nix
(and print errors to stderr).
This may be annoying if nc4nix is called for different versions of nextcloud but as mentioned here #8 maybe it would be more flexible to accept only one version, e.g. nc4nix 27 > nc27.nix
and have the callee call several nc4nix in parallel.
Is there any advantage of the current infrastructure with nc4nix ? does it gain anything from having several versions in NEXTCLOUD_VERSIONS ?
I've recently tried to improve my nextcloud setup (including a full reinstall, here are some notes https://discourse.nixos.org/t/how-to-get-beyond-the-current-nextcloud-module/30533/3).
I was looking at patching https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/nextcloud/packages/generate.sh (to be able to run it from any directory) and was confused by the NEXTCLOUD_VERSIONS variable that did not seem to be used ? Is there a way to pass the nextcloud version on the CLI instead so that it's more explicit ?
Also I wonder if you had considered moving the repo to https://github.com/nix-community/ ? many *2nix programs live there to ease contributing/discovery.
Also would be nice to have a --help
available, if only to discover how to use the program.
Hey,
it looks like nc4nix does in some or all cases update apps to beta releases. We also use this in nixpkgs to generate package sets, but here it should only consider stable releases.
Best regards
Jonas
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.