neo-project / neo

NEO Smart Economy
MIT License
3.46k stars 1.03k forks source link

Expanding Download Availability #3055

Open cschuchardt88 opened 8 months ago

cschuchardt88 commented 8 months ago

Summary or problem description

  1. Add neo-cli to win-get for windows. See #3018
  2. Also consider apt-get and brew repos. (@gsmachado can help with this. He is making repos currently for neo-express, that we can tie into.)

Additionally we need to update neo.org/downloads.html for all repos to point to this repo. @chenzhitong can you help update that?

Do you have any solution you want to propose? winget - Setup

apt-get - Can use github repo for this Setup.

Neo Version

Where in the software does this update applies to?

@steven1227 @vncoelho @Jim8y @shargon @roman-khimov

Jim8y commented 8 months ago

Also compiler, we need to publish compiler as well, or integrate compiler into neo-cli.

roman-khimov commented 8 months ago

Refs. nspcc-dev/neo-go#482 and nspcc-dev/neo-go#483. And looking at those I'd say it's not critical.

cschuchardt88 commented 8 months ago

@roman-khimov These apt-get and brew repos are already in the works. Just waiting on @gsmachado to complete. These repos will be hosted in a github repo with a domain attached. Also with the PR #3018 as standalone apps, we won't need dotnet installed. Especially if we upgrade to dotnet 8.0.

gsmachado commented 8 months ago

@roman-khimov These apt-get and brew repos are already in the works. Just waiting on @gsmachado to complete. These repos will be hosted in a github repo with a domain attached.

So, about this comment ☝️: yes, I'm developing a brew and apt-get repos (only for Ubuntu for the first version, though). I'm slowly progressing since this is not my main focus atm (😰), but I'm progressing! Hold on tight and we'll have something soon.

However, I need to highlight something: yes, we will use GitHub repo for brew... but, for apt-get, I found out some challenges/disadvantages for doing it using GitHub. Anyway, I will clarify once I get closer to something polished. 🙏

Also with the PR #3018 as standalone apps, we won't need dotnet installed. Especially if we upgrade to dotnet 8.0.

☝️ Yes, this is the beauty of standalone, single-finary, applications. ❤️ It's native. And do not require dotnet, whatsoever. 🚀

cschuchardt88 commented 8 months ago

apt-get test repo https://github.com/cschuchardt88/neo-project-apt-repo

cschuchardt88 commented 8 months ago

Added Repo to apt-get

image

Install neo-cli with apt-get

image

Running neo-cli

image

Debian Package Contents of neo-cli with Permissions

image

config.json and Other Configuration Files Changes

image

superboyiii commented 8 months ago

This is cool. Could we add yum as well?