Coder Social home page Coder Social logo

summerlabs / punic Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 2.0 15.28 MB

Punic is a remote cache CLI built for Carthage and Apple .xcframework

Home Page: https://andrewaquino118.medium.com/remote-caching-apples-xcframework-2fcf574392c5

Rust 99.14% Makefile 0.86%
homebrew carthage remote caching apple ios tooling cli cache punic

punic's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

punic's Issues

Versioning does not work if not in the x.y.z format

Given the following content in the Punfile

- FooBar:
  - name: FooBar
    version: 1.2

you get an error:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/punfile.rs:85:109
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

That only works if your dependency has the x.y.z version formatting

- FooBar:
  - name: FooBar
    version: 1.2.0

I think version should be a free-form string.

Also that does not make sense to have to specify the version number in the Punfile, it should be automatically done somehow. I know there's no strong adherence with Carthage, so it should do it with some kind of hashing of the .xcframework.

Installation requires Xcode 12.5

First, thanks for the great tool. I've been using Rome for a while but as it's still not supporting XCFrameworks it's great to see some other tools are arising.
I've noticed that to install the tool it requires Xcode 12.5 command line tools. Is it possible to support a lower version too? XCFrameworks are around for a while so might not every team is able to support the latest yet. (We specifically in Xcode 12.3)

upload version files?

Hi, currently only xcframework is being uploaded/downloaded without their respective .version files. Suppose I'am working on my local machine with dependency version 1 which I downloaded from AWS at some point in the past, then I merged master/develop which which has dependency of version 2 to my local, I can't easily verify that my current dependency in carthage/build has correct version. Previously with rome, we would match the version in version files with cartfile.resolved.

AWS Region is hardcoded to USWest1

Issue
The current implementation of s3.rs is hardcoded to the region uswest1. This is an issue for myself as our s3 bucket is configured to use a different region.

Proposed Fix
We will retrieve the region as set inside the aws configuration file and retrieve the correct region to be set.

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.