Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Avi Press
    @aviaviavi

    hey @njones - I've added some fixes to the scarf CLI so it properly installs pbr as pbr and not your package name. if you run scarf upgrade, rm ~/.scarf/scarf-package.json, scarf install 'PBR - PEM Block Reader' you should be in good shape!

    however, i think it still would be better if the package name was pbr so people can install it with scarf install pbr. Would you mind if I change that in the DB for you? This is not really an operation I want to have in the UI since this operation would generally break packages

    Nika Jones
    @njones
    Sure you can change the name for me. I'll try installing the package tonight.
    Avi Press
    @aviaviavi
    Awesome
    Avi Press
    @aviaviavi
    Done :)
    scarf install pbris working as expected for me now
    Nika Jones
    @njones
    If I push a release with a new package specification... do I run scarf install pbr again on the target machine to get the new release?
    Avi Press
    @aviaviavi
    yeah, install currently upgrades the package to latest version
    that will probably change later
    Avi Press
    @aviaviavi
    I pushed out payments features to the backend so things are also a little bit in flux
    Fahmi Akbar Wildana
    @DrSensor
    Hi, does a CLI published to scarf support multiple distributions? (Windows, Mac, Linux)
    Also, does scarf itself support running on Windows?
    Avi Press
    @aviaviavi
    Hi @DrSensor! Scarf doesn't run on windows yet, but will in the future if there is desire for it.
    Scarf does support publishing to both linux and mac however
    on https://docs.scarf.sh, you can see an example package specification which publishes a package to both platforms
    I'd be more than happy to help you get a your package set up on Scarf! How is your CLI tool built?
    Fahmi Akbar Wildana
    @DrSensor
    It's cross-compiled to Windows, Linux, and Mac (thanks to the advancement in CI
    services, now waiting for ARM support). However, I've difficulty to distribute it in various OS distro.
    There is a project for installing directly via github-release https://github.com/crate-ci/gh-install
    However, that's doesn't solve installing pre-defined dependencies.
    (My CLI have a mechanism to use another CLI for extra feature)
    Avi Press
    @aviaviavi
    Got it. Well scarf can definitely help with the installation of your CLI and it's dependencies. The only thing is that your dependencies on are almost certainly not on Scarf yet, but i'll do everything i can to get them up!
    If your project is public I can take a look for you @DrSensor!
    If not, what packages do you depend on?
    Fahmi Akbar Wildana
    @DrSensor
    @aviaviavi sure, you can check it in using Docker or CLI usage section
    https://github.com/DrSensor/scdlang/blob/master/README.md#using-docker
    Fahmi Akbar Wildana
    @DrSensor
    Ah yes, does the scarf user get notified when there is a new update on the packages they installed?
    Avi Press
    @aviaviavi
    Great thank you I will take a look
    The user is not currently notified of updates yet, but that is a planned feature
    Avi Press
    @aviaviavi
    I'm curious here, how would you ideally like the new version notifications to behave? Would you want to show the user a warning every time scdlang is invoked? Just some of the time? In specific circumstances?