Re: [forge-dev] GitPlugin Facet (Lincoln Baxter, III)
by Jevgeni Zelenkov
Hi Lincoln,
Thanks for the explanation, that helped me to understand it but not
completely. So, what do you actually mean by "inspect the state of a
Project"?
I take methods provided by you:
- getBranches()
- getTags()
- getRemotes()
- getStatus()
And here are some more suggestions to help inspect the state of a project:
- showLatestDiff()
- showLatestCommit()
- getNotes()
- showLog()
- switchBranch()
- cleanWorkingDirectory()
Would that be enough?
I guess, I don't understand the use cases for the GitFacet yet.
Who is going to use it and what are the potential scenarios? The git
undo plugin will require a lot more than that. And I assume that
GitFacet is not really a wrapper for the jGit functionality.
Regards,
Jevgeni
On 04/20/2012 06:00 PM, forge-dev-request(a)lists.jboss.org wrote:
> Message: 5
> Date: Fri, 20 Apr 2012 09:21:10 -0400
> From: "Lincoln Baxter, III"<lincolnbaxter(a)gmail.com>
> Subject: Re: [forge-dev] GitPlugin Facet
> To: forge-dev List<forge-dev(a)lists.jboss.org>
> Message-ID:
> <CAEp_U4GGVD8p8hH2M5PRm6gK_MkDGtAyXzokGcm3VVz70jeX2g(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hey Jevgeni,
>
> Welcome!
>
> Regarding the GitFacet - I believe it's in the right place for the moment,
> but I don't believe that the GitPlugin should be referencing it, since the
> commands in GitPlugin could be used even without a Project.
>
> GitFacet (as the issue describes poorly) is something that should be usable
> to inspect the state of a Project via:
>
> project.hasFacet(GitFacet.class)
>
> After that, everything else is an added benefit. It should probably also
> perform tasks like:
>
> project.getFacet(GitFacet.class).getBranches()
> project.getFacet(GitFacet.class).getTags()
> project.getFacet(GitFacet.class).getRemotes()
> project.getFacet(GitFacet.class).getStatus()
>
> And that's where your imagination kicks in.
>
> Does that make sense?
>
> ~Lincoln
12 years, 7 months
GitPlugin Facet
by Jevgeni Zelenkov
Hi Forge Developers,
I am interested in the forge project, especially in git-related
functionality. I am a CS student and I submitted a proposal to this
year's google summer of code to implement a git powered undo
functionality in forge, as mentioned in the FORGE-320 issue. Even though
accepted proposals will be announced on Monday, April 23rd, I decided to
dive into forge source code.
A good starting point recommended by Lincoln, was FORGE-183. I created a
git facet in the forge core project, under
'git-tools\src\main\java\org.jboss.forge.git\GitFacet' but I guess that
is not the best place for it.
Lincoln, you mentioned splitting the plugin in two parts. Could you
please provide more details?
Guys, if you have any ideas related to either FORGE-320 or FORGE-183,
please let me know.
Best regards,
Jevgeni Zelenkov
P.S.
I will add ideas from my gsoc proposal into the FORGE-320 after the
announcement on Monday.
12 years, 7 months
A silent build
by Lincoln Baxter, III
You may notice when building forge from master, that test output is no
longer printed to the console. This is because George Gastaldi has
implemented a long standing feature request:
https://issues.jboss.org/browse/FORGE-211
It is now possible to call: getOutput() in Forge test cases extending from
AbstractShellTest, making assertions on what your plugin is actually
printing to the console.
Assert.assertTrue(getOutput().contains("Expected output"));
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
12 years, 7 months
Branches on forge/core
by George Gastaldi
Hello !
I noticed that there are some branches in
https://github.com/forge/core/ that could be deleted as well (Eg:
feature/FORGE-399, FORGE-458 ).
Is there anyone working on that ? Can you guys clean it up if that´s ok ?
Regards,
George Gastaldi
12 years, 7 months
Meeting minutes 2012-04-18
by Lincoln Baxter, III
(10:46:03 AM) jbott: Meeting ended Wed Apr 18 14:45:14 2012 UTC.
Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)
(10:46:03 AM) jbott: Minutes:
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2012/forge.20...
(10:46:03 AM) jbott: Minutes (text):
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2012/forge.20...
(10:46:03 AM) jbott: Log:
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2012/forge.20...
Meeting summary
---------------
* Agenda (lincolnthree, 14:02:40)
* @Alias as Qualifier (lincolnthree, 14:03:31)
* Forge website (lincolnthree, 14:05:35)
* Discuss: @Alias as Qualifier (lincolnthree, 14:06:48)
* LINK: https://issues.jboss.org/browse/FORGE-547 (lincolnthree,
14:13:41)
* Discuss: Forge website (lincolnthree, 14:22:28)
* Discuss: Forums for Forge? (lincolnthree, 14:26:17) -
https://issues.jboss.org/browse/ORG-1380
* Pending issues for 1.0.3.Final (gastaldi, 14:31:14)
* ACTION: Lincolnthree will try to upgrade to Arquillian 1.0.0.Final
(lincolnthree, 14:39:36)
* ACTION: George will finish i18n plugin (gastaldi, 14:40:00)
Action Items
------------
* Lincolnthree will try to upgrade to Arquillian 1.0.0.Final
* George will finish i18n plugin
Action Items, by person
-----------------------
* **UNASSIGNED**
* Lincolnthree will try to upgrade to Arquillian 1.0.0.Final
* George will finish i18n plugin
People Present (lines said)
---------------------------
* lincolnthree (93)
* gastaldi (51)
* koentsje (22)
* jbossbot (5)
* jbott (4)
* paul_dijou (1)
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
12 years, 7 months
I18N Plugin
by George Gastaldi
Hey all,
Just created a new issue (https://issues.jboss.org/browse/FORGE-541)
regarding i18n support on Forge enabled projects.
I was thinking if it should it be part of Forge core. WDYT ?
Feel free to add any new comment on this issue. I plan to start
working on it still this week.
Regards,
George Gastaldi
12 years, 7 months