Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7961965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:11:58+00:00 2026-06-04T05:11:58+00:00

I am trying to put the finishing touches on a github formula. I have

  • 0

I am trying to put the finishing touches on a github formula. I have been able to pull a zip file from github, but (for some unknown reason) it has the wrong version of files in it. And I am trying to pull a specific version of the repository since (if I understand correctly) that is the customary way to build a formula. So, pulling a tag is apparently frowned upon (which is also OK, because the few relevant tagged versions can be pulled with HEAD and -devel).

Is there a way to pull a specific version (aside from HEAD and tag) of a repository using the homebrew GitDownloadStrategy?

For reference, here’s what I’ve got for the current formula:

class Geocouch < Formula
  homepage 'https://github.com/couchbase/geocouch'
  head 'https://github.com/couchbase/geocouch.git', :using => :git, :tag => '1.2.x'
  url 'https://github.com/couchbase/geocouch/zipball/couchdb1.2.zip'
  md5 '2e72424d67e369f2c649ed4ed01cdbc2'

  devel do
    head 'https://github.com/couchbase/geocouch.git', :using => :git, :tag => 'master'
    version '1.3.x'
  end
[...]

Since the url line grabs an undesirable version, I am trying to replace the url line with something like :using => :git, :sha => 'eeeb0f2e8d0a77', but the :sha feature does not seem to work… though that’s precisely what I need (I believe).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T05:11:59+00:00Added an answer on June 4, 2026 at 5:11 am

    You should be able to use :revision => 'eeeb0f2e8d0a77' to achieve this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been at this all week, trying to put the finishing touches on my
I'm trying to put into XML-file some data. Here is the code: @Test public
i am trying to put some word in tempfile via commandline temp file creat
I'm trying to put together a Java Webstart app, but don't want it to
I am trying to put a PSD file on my form using Microsoft report
Trying to put in field pagar the calculated value of precio * 15% but
trying to put a file path in javascript. it is a pain \ is
I trying to put some images into the hub tile as the window phone
I'm trying to put together this layout... ... but I'm having issues with the
I'm trying to put some json images into a UIScrollView and i'm hitting a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.