-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clone typings repo using github auth #118
Comments
How can I turn off the automatic github repo cloning? |
What's the error you are seeing? Do you know why it does not exist? Let me know which package you try to type so I can see if there is a bug somewhere. In the mean time you can disable it by |
Or |
An the other problem is that during the process it deletes the current directory.
At the end of the command the foo directory is not exists |
Try |
OK. This command did the job :-) |
I think the git cloning should not be the default behaviour. |
I'll look into the directory being deleted issue. What you are doing is a basic workflow. Can you show me what it prints out? |
After the |
Yeah do you plan on placing the typings in The generator expect you to host the typings on github. |
The problem is that when first I time created the directory structure I hadn't know it should be the same as the already existing repository on the github. And this message Sorry but I have to say that the default settings/behaviour is very very miss leading and annoying. The entry barrier is very high. This was my first experience. |
Thanks for the feedback. That's what #88 is for. The default workflow is aimed to create the repo with least amount of work. I'm considering to create a |
A template engine should do nothing with my Github credentials. The maximum this package should do is that echo a message to the stdout:
Or something like that. |
using qt5ct plugin
Pass a valid window to KWallet::Wallet::openWallet().
using qt5ct plugin
Pass a valid window to KWallet::Wallet::openWallet().
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/foo/bar.git/'
events.js:159
throw err;
^
Error: Uncaught, unspecified "error" event. (Cloning into '/home/andor/tmp/yo-tpl-test/foo/bar'...
using qt5ct plugin
Pass a valid window to KWallet::Wallet::openWallet().
using qt5ct plugin
Pass a valid window to KWallet::Wallet::openWallet().
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/foo/bar.git/'
)
at emit (events.js:157:17)
at Immediate._onImmediate (/home/andor/.nvm/versions/node/v5.7.1/lib/node_modules/generator-typings/node_modules/yeoman-generator/lib/base.js:438:16)
at processImmediate [as _immediateCallback] (timers.js:383:17) This is probably inside git itself.
Please see the README: https://github.com/typings/generator-typings#usage
Most dependencies comes from |
At the end no mater where those dependencies came from.
Like I sad before, by default a template engine should not care about my VCS workflow. Just copy files from location A to location B, rename if it is necessary and change the content based on the configuration. Nothing more. How many of the other |
Would this message works better? Good, now about the typings itself...
Based on your configured template, ...
repository: https://github.com/foo/bar.git # <-- here
Github username: unional
license: MIT
license signature: unional
test framework: blue-tape
Ok. In this regards My ultimate goal is to just run a command and get the whole typings repo setup, including testing. And then once that is done, I can do |
No description provided.
The text was updated successfully, but these errors were encountered: