Re: Validate artifacts before committing to a repository

markiewb <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Afaik there is no API for providing those pre-commit actions, but you could replace the commit action (in the menu, its shortcut) with your own checking action. If the check is positive then invoke the original commit action. 

@Ondrej: Any insides?

Best regards, markiewb

----- Ursprungligt meddelande -----
Från: "Todd Stevenson" <[email protected]>
Skickat: ‎26.‎02.‎2016 19:52
Till: "[email protected]" <[email protected]>
Ämne: [platform-dev] Validate artifacts before committing to a repository

I am using the git plugin in my NetBeans application.  I want to be able to do some validity checking with the artifacts in my application before they are allowed to be committed to the git repository.  I cannot see any way to hook into that plugin and do this validation. 
 
Any ideas?
 
Todd Stevenson
Sr Clinical Modeling Engineer
Clinical Modeling
3930 Parkway Blvd |Salt Lake City, UT 84120
Office: 801-442-5112 | Cell: 801-589-1115
[email protected]
image003.jpg (image/jpeg, 2.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.