I've deployed it to the URL below but it sucks. Seriously, I hacked it with a
chainsaw.
http://github.com/khuxtable/wagon-gitsite
Actually, there are just a few changes necessary to the wagon-scm necessary to
get it to work with git and site:deploy
1) Don't append the target directory
Kathryn-
I'm very curious to see your code. Please do let me know when it's
posted somewhere (presumably github).
Justin
On Apr 2, 2010, at 7:08 PM, Kathryn Huxtable wrote:
> On Apr 2, 2010, at 2:22 PM, Kathryn Huxtable wrote:
>
>> On Apr 2, 2010, at 2:03 PM, Justin Edelson wrote:
>>
>>> IMHO,
On Apr 2, 2010, at 2:22 PM, Kathryn Huxtable wrote:
> On Apr 2, 2010, at 2:03 PM, Justin Edelson wrote:
>
>> IMHO, you should be writing your own wagon implementation and avoid
>> using wagon-scm. This use case is very specific to github. This way,
>> you're free to define your own URL syntax.
>
On Apr 2, 2010, at 2:03 PM, Justin Edelson wrote:
> On Apr 2, 2010, at 1:59 PM, Kathryn Huxtable > wrote:
>
>> I don't really think there's a conceptual misunderstanding on my
>> part, since the format for the CVS URL in the SCM code allows for a
>> "module_name" as part of the URL, and not in st
er in various functions of the
>> maven-scm-api!
>>
>> Your attempt with first determining/setting the branch with native
>> git commands would actually work with git, but I'd prefer to give
>> wagon-scm the branch as parameter and use that inside the code.
&
ssword
>>> info in settings.xml is supposed to take care of everything.
>>> Should there be a "branch" element in the git scm url
>>> structure a la the "module" element in CVS scm urls?
>>>>
>>>> -K
>>>>
>>>> On Apr 1, 20
uld actually work with git, but I'd prefer to give wagon-scm the
> branch as parameter and use that inside the code.
>
> txs and LieGrue,
> strub
>
> --- Kathryn Huxtable schrieb am Fr, 2.4.2010:
>
>> Von: Kathryn Huxtable
>> Betreff: Re: Problem with wagon-
Kathryn Huxtable
> Betreff: Re: Problem with wagon-scm and gitexe
> An: "Maven Users List"
> Datum: Freitag, 2. April, 2010 18:56 Uhr
> Here's an alternative script:
>
> mkdir ${checkoutDirectory}
> cd ${checkoutDirectory}
> git init
> git remote add -t ${
;> as ScmVersion (ScmBranch and ScmTag are subclassses of ScmVersion [3]),
>>> then simply open a Jira issue and add your changes as patch. Patches are
>>> always highly welcome :)
>>>
>>> txs and LieGrue,
>>> strub
>>>
>>> [3] http:/
docs/org/apache/maven/scm/ScmBranch.html
>>
>>
>> --- Kathryn Huxtable schrieb am Do, 1.4.2010:
>>
>>> Von: Kathryn Huxtable
>>> Betreff: Re: Problem with wagon-scm and gitexe
>>> An: "Maven Users List"
>>> Datum: Donnerstag,
> txs and LieGrue,
> strub
>
> [3] http://maven.apache.org/scm/apidocs/org/apache/maven/scm/ScmBranch.html
>
>
> --- Kathryn Huxtable schrieb am Do, 1.4.2010:
>
>> Von: Kathryn Huxtable
>> Betreff: Re: Problem with wagon-scm and gitexe
>> An: "Maven Users Lis
Von: Kathryn Huxtable
> Betreff: Re: Problem with wagon-scm and gitexe
> An: "Maven Users List"
> Datum: Donnerstag, 1. April, 2010 22:43 Uhr
> Thanks, Mark,
>
> These are good points.
>
> I'm thinking that the issues are in wagon-scm, which is
>
p://svn.apache.org/viewvc/maven/wagon/trunk/wagon-providers/wagon-scm/src/main/java/org/apache/maven/wagon/providers/scm/ScmWagon.java?view=markup
>
> --- Kathryn Huxtable schrieb am Do, 1.4.2010:
>
>> Von: Kathryn Huxtable
>> Betreff: Re: Problem with wagon-scm and gitexe
-scm/src/main/java/org/apache/maven/wagon/providers/scm/ScmWagon.java?view=markup
--- Kathryn Huxtable schrieb am Do, 1.4.2010:
> Von: Kathryn Huxtable
> Betreff: Re: Problem with wagon-scm and gitexe
> An: "Maven Users List"
> Datum: Donnerstag, 1. April, 2010 19:21 Uhr
&g
Since it seems to be my practice to have second thought after sending a
message, I'll add that I can check out the gh-pages branch of my git repository
into a separate directory and deploy there using a "file:" URL and then commit
that and push it.
That works. I just think it should be able to
I know the docs say that wagon-scm has only been tested with CVS and
Subversion, and I've run it with Subversion successfully.
Is anyone working on getting it to work with Git, or does it already?
I created a very simply project with a README and a pom.xml and nothing else.
It's at
htt
16 matches
Mail list logo