Giter Club home page Giter Club logo

asdf-hugo's Introduction

Hi there ๐Ÿ‘‹

asdf-hugo's People

Contributors

github-actions[bot] avatar nklmilojevic avatar ocolot avatar pboling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

asdf-hugo's Issues

Could not install hugo version 0.104.2 on macOS

Describe the bug

Could not install the latest version (0.104.2) of Hugo.

Steps to reproduce

$ asdf install hugo 0.104.2     
* Downloading hugo release 0.104.3...
curl: (22) The requested URL returned error: 404
asdf-hugo: Could not download https://github.com/gohugoio/hugo/releases/download/v0.104.3/hugo_0.104.3_macOS-universal.tar.gz

Expected behavior

Should be installed successfully

Additional context

The Hugo team seems to change the name of the binary they release for macOS

extended hugo can't be installed

Describe the bug

โฏ asdf install hugo extended_0.101.0
* Downloading hugo release extended_0.101.0...
curl: (22) The requested URL returned error: 404
asdf-hugo: Could not download https://github.com/gohugoio/hugo/releases/download/vextended_0.101.0/hugo_extended_0.101.0_macOS-ARM64.tar.gz

Steps to reproduce

In the URL extended_ is being injected in two places, but should only be in one of them.
Expected behavior

I expected a download of:

https://github.com/gohugoio/hugo/releases/download/v0.101.0/hugo_extended_0.101.0_macOS-ARM64.tar.gz

But this URL was not generated by asdf-hugo.

`hugo_0.102.3_macOS-64bit.tar.gz` is not a release

Describe the bug

hugo_0.102.3_macOS-64bit.tar.gz is not a release. The closest things that are similar:

  • https://github.com/gohugoio/hugo/releases/download/v0.102.3/hugo_0.102.3_macOS-universal.tar.gz
  • https://github.com/gohugoio/hugo/releases/download/v0.102.3/hugo_extended_0.102.3_macOS-universal.tar.gz

Steps to reproduce

$ asdf install hugo 0.102.3
* Downloading hugo release 0.102.3...
curl: (22) The requested URL returned error: 404
asdf-hugo: Could not download https://github.com/gohugoio/hugo/releases/download/v0.102.3/hugo_0.102.3_macOS-64bit.tar.gz

Expected behavior

A successful install!
Maybe hugo changed the naming scheme for MacOS releases?

Not being able to install 0.99.1 on Mac OS Monterrey

Describe the bug

I'm not being able to install 0.99.1 on Mac OS Monterrey, using asdf 0.10.2

Steps to reproduce

โžœ  /usr/local/bin asdf --version
v0.10.2

โžœ  /usr/local/bin asdf plugin update hugo
Updating hugo to main
Already on 'main'
Your branch is up to date with 'origin/main'.

โžœ  /usr/local/bin date
Mon Dec  5 12:03:24 CST 2022

โžœ  /usr/local/bin sw_vers -productVersion
12.6

โžœ  /usr/local/bin asdf install hugo  0.99.1
mkdir: /Users/alfredocambera/.asdf/downloads/hugo/0.99.1: File exists
* Downloading hugo release 0.99.1...
curl: (22) The requested URL returned error: 404 Not Found
asdf-hugo: Could not download https://github.com/gohugoio/hugo/releases/download/v0.99.1/hugo_0.99.1_macOS-universal.tar.gz

Expected behavior

Being able to install 0.99.1

Screenshots

Additional context

The fix (#8) doesn't fix the path for hugo versions not using the universal suffix in the download URL.

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.