Coder Social home page Coder Social logo

Comments (3)

indygreg avatar indygreg commented on August 15, 2024 1

The lack of multiple signing (especially in the context of remote signing) has frustrated me as well! During release processes for my projects, I often have to initiate multiple remote signing sessions. This is laborious and does not spark joy.

I'd love to support multiple signing via a single CLI command.

The biggest open issue in my mind is what the CLI interface looks like. We currently use positional arguments for the input and output paths. Using positional arguments with no other flags to indicate multiple inputs mode leads to ambiguous argument parsing. So we have to invent a new CLI argument mechanism to specify multiple inputs - and maybe multiple outputs.

Once we figure out what that UI looks like, I think this should be relatively straightforward to implement.

from apple-platform-rs.

rithvikvibhu avatar rithvikvibhu commented on August 15, 2024

How about this?

The current syntax is:

rcodesign sign [OPTIONS] <input_path> [output_path]

New syntax:

rcodesign sign [OPTIONS] <input_path> [output_path]
rcodesign sign [OPTIONS] <input_path1> [<input_pathN>, ...] [--out <output_path>]

with parsing as:

// paths = list of file paths (positional arguments) after OPTIONS
if (paths.length === 2) {
  input = [paths[0]];
  output = paths[1] || options.out;
} else if (paths.length > 2) {
  input = paths;
  output = options.out;
}

from apple-platform-rs.

indygreg avatar indygreg commented on August 15, 2024

Another factor here is how scoped setting should behave in the face of multiple inputs, as each scope's path could match multiple inputs.

That consideration biases me towards use of -- as a delimiter between distinct sets of signing components.

Or, we could just say the problem space is too complex and close this issue as won't fix. The main thing that gives me pause is I'd really like to support multi-signing for remote signing so you only have to establish 1 signing session on the remote.

from apple-platform-rs.

Related Issues (20)

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.