Comments (6)
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.
…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.
Damn, I’ve forgotten that Windows doesn’t have usable terminal preinstalled, so well, CLI is problematic for them. 😿 Sigh.
from jekyll-asciidoc-quickstart.
@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.
We good to close?
from jekyll-asciidoc-quickstart.
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)
- Baseline style and content HOT 8
- Repurpose JAQ for Mini Docs Sites HOT 7
- Consolidate stylesheets HOT 10
- Upgrade to Jekyll 3
- Provide screenshots of the expected output HOT 4
- GH-Pages site HOT 6
- default setup does not generate index.html HOT 5
- env.global not present HOT 3
- Step 7 - Error: unable to auto-detect email address HOT 5
- Gemfile is not up-to-date HOT 1
- Oh no! Your permissions are insufficient to access this repository's settings
- Sites that don't have '/' as a baseurl don't have working post links in the sidebar.
- Ruby Sass has reached end-of-life and should no longer be used HOT 1
- GitHub actions version HOT 2
- gh-pages did not produce the corresponding file HOT 7
- Release Readiness HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-asciidoc-quickstart.