Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

feat: add cargo package manager and refactor existing package #171

Merged
merged 13 commits into from
Mar 8, 2019

Conversation

tiffafoo
Copy link
Collaborator

@tiffafoo tiffafoo commented Mar 3, 2019

Description

Make package section support cargo package manager. Additionally, update current implementation of __sf_section_package.fish to use jq and python to go through package.json as spaceship does as a performance boost.

Motivation and Context

Closes #143

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots (if appropriate):

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux

Checklist:

  • I have checked that no other PR duplicates mine
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

matchai
matchai previously requested changes Mar 3, 2019
Copy link
Owner

@matchai matchai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @sirMerr! 😄
Just a couple small suggested changes and we're ready to merge 🏎💨

matchai and others added 3 commits March 3, 2019 20:45
Co-Authored-By: sirMerr <letiffany.nguyen@gmail.com>
Co-Authored-By: sirMerr <letiffany.nguyen@gmail.com>
Co-Authored-By: sirMerr <letiffany.nguyen@gmail.com>
@tiffafoo tiffafoo requested a review from matchai March 4, 2019 01:46
@matchai
Copy link
Owner

matchai commented Mar 4, 2019

@sirMerr You may want to update the documentation in Options.md to mention the new Cargo support in the package section: https://github.com/matchai/spacefish/blob/master/docs/Options.md#package-version-package

Here is the equivalent spaceship documentation: https://github.com/denysdovhan/spaceship-prompt/blob/master/docs/Options.md#package-version-package

Copy link
Collaborator

@Snuggle Snuggle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a couple things here need a little more explanation, but I can't see anything glaring. 🙂

tests/__sf_section_package.test.fish Show resolved Hide resolved
functions/__sf_section_package.fish Show resolved Hide resolved
Copy link
Owner

@matchai matchai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 😄
Thanks a lot, Tiff!

🚀🚀🚀🚀

@matchai matchai merged commit 0064d2d into master Mar 8, 2019
@matchai matchai deleted the feat/cargo branch March 8, 2019 17:04
@matchai
Copy link
Owner

matchai commented Mar 8, 2019

@all-contributors please add @sirMerr for tests

@allcontributors
Copy link
Contributor

@matchai

I've put up a pull request to add @sirMerr! 🎉

matchai pushed a commit that referenced this pull request Mar 8, 2019
# [2.4.0](v2.3.1...v2.4.0) (2019-03-08)

### Features

* add cargo package manager and refactor existing package section ([#171](#171)) ([0064d2d](0064d2d))
@matchai
Copy link
Owner

matchai commented Mar 8, 2019

🎉 This PR is included in version 2.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

adamsimp pushed a commit to adamsimp/spacefish that referenced this pull request May 6, 2019
…matchai#171)

✨🔨 Refactor package to include cargo, and use jq and python for node
adamsimp pushed a commit to adamsimp/spacefish that referenced this pull request May 6, 2019
# [2.4.0](matchai/spacefish@v2.3.1...v2.4.0) (2019-03-08)

### Features

* add cargo package manager and refactor existing package section ([matchai#171](matchai#171)) ([0064d2d](matchai@0064d2d))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package: Support cargo package manager (Rust)
3 participants