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

Native packages for Homebrew #17

Closed
dmirgaleev opened this issue Aug 26, 2024 · 9 comments · Fixed by #71
Closed

Native packages for Homebrew #17

dmirgaleev opened this issue Aug 26, 2024 · 9 comments · Fixed by #71
Assignees

Comments

@dmirgaleev
Copy link
Member

dmirgaleev commented Aug 26, 2024

Create a workflow to generate homebrew packages of the prover, triggered by a git tag based on commits in the stone-prover repository.
https://github.com/dipdup-io/stone-packaging/blob/master/.github/workflows/release.yml and https://github.com/dipdup-io/stone-packaging/blob/master/package_deb.sh can be used as examples.

  • Testing should be done in a forked repo and testing results should be provided.
  • README should be extended with instructions similar to .
@supreme2580
Copy link

@dmirgaleev Hi can I be assigned to this?

Copy link

onlydustapp bot commented Sep 23, 2024

Hi @supreme2580!
Maintainers during the ODHack # 8.0 will be tracking applications via OnlyDust.
Therefore, in order for you to have a chance at being assigned to this issue, please apply directly here, or else your application may not be considered.

@CollinsC1O
Copy link
Contributor

Hi @dmirgaleev I will love to work on this

@Botdavid
Copy link

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I am a full stark web developer, graphics designer and a content writer

How I plan on tackling this issue

Using the guidelines provided, i will duly implement all the instructions to generate a perfect workflow

@ayush-ranjan-official
Copy link

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I am a Blockchain Developer, specializing in EVM based chains, I also have some experiences in software development role. I just completed Starknet's Basecamp and Buidl Camp, which introduced me to Cairo and starknet Ecosystem. Now, I want to start contributing to this ecosystem and stone-packaging seems to be the best place to start considering my recent interest in zero-knowledge proofs based projects.

How I plan on tackling this issue

Step 1: To trigger by a git tag based on commits i'll use the following syntax -

on:
  push:
    tags:
      - 'v*.*.*'

Step 2: Looking at the examples provided, I'll keep the similar code for releasing the project keeping in mind the docker installation steps for Stone-prover project-

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-22.04, macos-14]

    steps:
     ... 

Step 3: I will add steps to Generate Homebrew Formula, using a code similar to the example below -

class Foo < Formula
  desc ""
  homepage ""
  url "https://example.com/foo-0.1.tar.gz"
  sha256 "85cc828a96735bdafcf29eb6291ca91bac846579bcef7308536e0c875d6c81d7"
  license ""

  # depends_on "cmake" => :build

  def install
    # ENV.deparallelize
    system "./configure", *std_configure_args, "--disable-silent-rules"
    # system "cmake", "-S", ".", "-B", "build", *std_cmake_args
    system "make", "install"
  end

  test do
    system "false"
  end
end

step 4 : Upload and Submit Homebrew formula.

@MrRoudyk
Copy link
Contributor

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

Software Engineer with 10 years of experience. For the past 5 years, I’ve specialized in HR Tech solution, now utilized by tens of thousands of companies and hundreds of thousands of users.
Key Skills: Software Development, UI/UX, Systems Design, Python, 1C:Enterprise, SQL, JavaScript, React.js.
I’m passionate about exploring new technologies and currently looking to deepen my expertise in GitHub Actions, Bash scripting, and package management.

How I plan on tackling this issue

I will follow the recommendations and instructions, as well as apply the experience from the files located at https://github.com/dipdup-io/stone-packaging/blob/master/.github/workflows/release.yml and https://github.com/dipdup-io/stone-packaging/blob/master/package_deb.sh

@dmirgaleev
Copy link
Member Author

Hi @MrRoudyk! Welcome aboard! Please don't hesitate to join our Telegram group t.me/baking_bad_odhack to ask questions and share your progress! Happy hacking!

@dmirgaleev
Copy link
Member Author

Friendly heads up that you have till Sunday (October 6) to push final PR. @MrRoudyk

@MrRoudyk
Copy link
Contributor

MrRoudyk commented Oct 3, 2024

Thank you for the heads up. I’m reviewing the task and will propose a solution within the next couple of days. @dmirgaleev

MrRoudyk pushed a commit to MrRoudyk/stone-packaging that referenced this issue Oct 7, 2024
dmirgaleev added a commit that referenced this issue Oct 7, 2024
* Native packages for Homebrew #17

Co-authored-by: Dmitry Mirgaleev <35151170+dmirgaleev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants