giter8 0.5.0-RC1

99 views
Skip to first unread message

Nathan Hamblen

unread,
Aug 4, 2012, 6:31:47 PM8/4/12
to git...@googlegroups.com
Please help test the next giter8 version. It's really easy if you use conscript:

cs n8han/giter8/0.5.0-RC1

This release includes a rewrite of the core done by jto:
https://github.com/n8han/giter8/pull/64

In short, giter8 now uses the git protocol instead of the github api, which makes a thousand times more sense in hindsight. It will work with any git repository, and still defaults to github for short names (unfiltered/unfiltered) like before. It's way faster.

You can also use the file protocol to test template locally, so there's no more need for the sbt plugin.

g8 file:///home/nathan/Programming/unfiltered.g8/

For private repos, it (jgit) will use ssh keys already registered, so there is nothing to configure.

jto did 99% of the work for this, I just added some fallback behavior so that it works for people who don't have ssh keys registered for github.

It would be really great if people could test this on all their weird configurations, and using all their favorite features. Usually we have a few bugs discovered after the release, which is not great.

cs n8han/giter8/0.5.0-RC1

Nathan

Adam Rosien

unread,
Aug 5, 2012, 1:30:34 AM8/5/12
to git...@googlegroups.com
Awesome!!! Thanks so much. I'll try it out right away.

.. Adam

Mads Hartmann Jensen

unread,
Aug 5, 2012, 6:56:52 AM8/5/12
to git...@googlegroups.com
Hi Nathan,

This looks great. I think there might be a toString creeping around somewhere it shouldn't. When applying a template successfully it ends the process with the following message: 

Right(Template applied in ./testingthis)

Thanks,
Mads

Nathan Hamblen

unread,
Aug 5, 2012, 8:27:30 AM8/5/12
to git...@googlegroups.com

You're right, I saw that and forgot about it. Maybe someone will track it down today while I'm at the beach.

Mads Hartmann Jensen

unread,
Aug 5, 2012, 8:35:08 AM8/5/12
to git...@googlegroups.com
Heh, I'll have a look if I find the time :) Enjoy the beach.. it's too cold to go the beach here in Denmark anyway ;)

Mads Hartmann Jensen

unread,
Aug 5, 2012, 9:26:55 AM8/5/12
to git...@googlegroups.com
I think I've found it. What's the easiest way to use my local version of giter8? 

Thanks,
Mads

Mads Hartmann Jensen

unread,
Aug 5, 2012, 12:26:36 PM8/5/12
to git...@googlegroups.com
Okay, I've opened a pull request. It should do the trick :)

Nathan Hamblen

unread,
Aug 5, 2012, 7:50:42 PM8/5/12
to git...@googlegroups.com
On 08/05/2012 12:26 PM, Mads Hartmann Jensen wrote:
> Okay, I've opened a pull request. It should do the trick :)

Thanks Mads, it's merged.

Adam Rosien

unread,
Aug 7, 2012, 8:50:12 PM8/7/12
to git...@googlegroups.com
At work our internal repos don't end with .git, but g8 appears to assume that anything without a .git suffix means try github.com:

1 arosien@meh /tmp> g8 ssh://aro...@scm.dev.box.net/box/www/box-scala-service.g8 -b dev
org.eclipse.jgit.api.errors.JGitInternalException: Cannot parse Git URI-ish: g...@github.com:ssh://aro...@scm.dev.box.net/box/www/box-scala-service.g8.git

Adam Rosien

unread,
Aug 8, 2012, 9:37:08 AM8/8/12
to git...@googlegroups.com
Sent a pull request allowing non-.git suffixed remotes.
Reply all
Reply to author
Forward
0 new messages