Giter VIP home page Giter VIP logo

nc4nix's People

Contributors

ajs124 avatar cheriimoya avatar dasj avatar leonklingele avatar ma27 avatar onny avatar scriptkiddi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

onny ma27 teto

nc4nix's Issues

log when can't find a version for extension

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

dump output straight to stdout

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 ?

pass NEXTCLOUD_VERSIONS the command line instead

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.

nc4nix updates to beta releases of Nextcloud apps

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.