Giter VIP home page Giter VIP logo

Comments (6)

jaredmorgs avatar jaredmorgs commented on August 22, 2024

Turns out this could be possible without the CLI...

We use public key based encryption + base64 encoding, so you can use any tool that allows you to do that. Here is the code that we use in Travis CLI: https://github.com/travis-ci/travis.rb/blob/master/lib/travis/client/repository.rb#L16-L17 - public_encrypt is a ruby method on RSA key object. You can fetch a public key for any repository on Travis CI by using one of these endpoints: http://docs.travis-ci.com/api/#repository-keys

from jekyll-asciidoc-quickstart.

jirutka avatar jirutka commented on August 22, 2024

…for folks who want to never touch a PC to configure this repo.

I don’t believe that it’s a real use case. If someone doesn’t have a computer at home, then (s)he have it at work, or can use an internet cafe in the worst case (just to setup repo).

How many people are affected? It is worthwhile to deal with it? The CLI way is actually the simplest, anything else will be overly complicated to implement.

However, a real problem with the travis gem could be Ruby – for Windows guys (but they are probably used to it, ’cause almost everything is complicated and creepy on Windows 😼).

from jekyll-asciidoc-quickstart.

jirutka avatar jirutka commented on August 22, 2024

Damn, I’ve forgotten that Windows doesn’t have usable terminal preinstalled, so well, CLI is problematic for them. 😿 Sigh.

from jekyll-asciidoc-quickstart.

jaredmorgs avatar jaredmorgs commented on August 22, 2024

@jirutka I concede that I'm just too attached to the way the jekyll-now repo works. :(

I don’t believe that it’s a real use case. If someone doesn’t have a computer at home, then (s)he have it at work, or can use an internet cafe in the worst case (just to setup repo).

I'm not suggesting folks wouldn't have a PC at home that they could install travis CI on. I'm more referring to folks that want it to "just work" as the jekyll-now repo does. The keystone to this issue here--and one that I've been conveniently trying to ignore--is that we don't have AsciiDoc whitelist support. This is why jekyll-now works as it does, and trying to emulate that here is just a technical impossibility.

How many people are affected? It is worthwhile to deal with it? The CLI way is actually the simplest, anything else will be overly complicated to implement.

I took a look at online base64 generators, and I have to agree it would be overly complicated to get the Travis key for the audience typically consuming a "fork and blog" type repo like jekyll-now.

Putting myself in a totally green user's shoes, if I saw something like "just go to an online key generator and copy this key from here and..." I'd likely just look for something else that was easier to configure. 😉

I think if we help users with the basic steps to getting Travis CLI installed, that should be enough. I'm not suggesting we "document the internet" here, but a basic overview of the process with links off to the appropriate docs could be the way forward to get the user over this one installation hurdle.

Maybe even recommend a few Windows CLI tools that folks could use as a sweetener.

We so need whitelist support. Keep on hustling! 😃

from jekyll-asciidoc-quickstart.

johncarl81 avatar johncarl81 commented on August 22, 2024

We good to close?

from jekyll-asciidoc-quickstart.

jaredmorgs avatar jaredmorgs commented on August 22, 2024

I reckon so.
On 27 Jan 2015 2:45 pm, "John Ericksen" [email protected] wrote:

We good to close?


Reply to this email directly or view it on GitHub
#4 (comment)
.

from jekyll-asciidoc-quickstart.

Related Issues (17)

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.