Hi there Jeff,

When using exclude patterns in your .reviewboardrc file, it takes a list of 
python strings. As such you have to make sure to either escape your strings 
correctly or use raw strings.

To use your example, it should be:

EXCLUDE_PATTERNS = [
    r’*\AssemblyInfo.cs’
]

Let me know if this solves your issue.

Regards,
Barret Rennie
> On May 4, 2015, at 2:13 PM, Jeff Buzzell <jbuzz...@catalystsecure.com> wrote:
> 
> Could you please elaborate on the syntax for patterns when using  
> .reviewboardrc EXCLUDE_PATTERNS ?
> 
> I am able to use the rbt parameters to exclude a single pattern at the 
> Windows command line
> 
>     rbt post --exclude *\AssemblyInfo.cs
> 
> this successfully excludes all "AssemblyInfo.cs" files found throughout all 
> subfolders.
> 
> But when I place this same pattern in the .reviewboardrc file as 
> 
>     EXCLUDE_PATTERNS = '*\AssemblyInfo.cs'
> 
> and run 
> 
>     rbt post
> 
> I get this error
> 
>     ERROR: There don't seem to be any diffs!
> 
> How should patterns be supplied in the .reviewboardrc?  Can multiple patterns 
> be specified somehow?
> 
> Thank you.
> 
> On Sunday, December 28, 2014 at 4:45:10 PM UTC-7, David Trowbridge wrote:
> See 
> https://www.reviewboard.org/docs/rbtools/dev/rbt/commands/post/#cmdoption-rbt-post-X
>  
> <https://www.reviewboard.org/docs/rbtools/dev/rbt/commands/post/#cmdoption-rbt-post-X>
> 
> You would set EXCLUDE_PATTERNS to a list of patterns. Note that this is only 
> available in git master (which will ship as 0.7)
> 
> -David
> 
> On Sun, Dec 28, 2014 at 8:37 AM, anoop kc <an...@baabte.com <javascript:>> 
> wrote:
> Hi,
> 
> Could you please advise me on adding an exclude list to the .reviewboardrc 
> file
> 
> -- 
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ 
> <http://www.reviewboard.org/powerpack/>
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ 
> <https://rbcommons.com/>
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/ 
> <http://www.reviewboard.org/users/>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> <https://www.reviewboard.org/powerpack/>
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ <https://rbcommons.com/>
> Happy user? Let us know! https://www.reviewboard.org/users/ 
> <https://www.reviewboard.org/users/>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com 
> <mailto:reviewboard+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to