Arquivo da categoria ‘GCS’

Genshi XML Template Reference

viaGenshi XML Template Reference — Bcfg2 1.3.1 documentation.

ayria: Windows and SVN hooks

Publicado: 20/01/2012 em GCS, SVN

Windows and SVN hooks

If you ever need to allow edits to commit logs, all you need to do is create a pre-revprop-change hook.

Just save this as “pre-revprop-change.bat” and throw it in the hooks directory.

@ECHO OFF

:: Set all parameters. Even though most are not used, in case you want to add

:: changes that allow, for example, editing of the author or addition of log messages.

set repository=%1

set revision=%2

set userName=%3

set propertyName=%4

set action=%5

:: Only allow the log message to be changed, but not author, etc.

if /I not “%propertyName%” == “svn:log” goto ERROR_PROPNAME

:: Only allow modification of a log message, not addition or deletion.

if /I not “%action%” == “M” goto ERROR_ACTION

:: Make sure that the new svn:log message is not empty.

set bIsEmpty=true

for /f “tokens=*” %%g in (‘find /V “”‘) do (

set bIsEmpty=false

)

if “%bIsEmpty%” == “true” goto ERROR_EMPTY

goto :eof

:ERROR_EMPTY

echo Empty svn:log messages are not allowed. >&2

goto ERROR_EXIT

:ERROR_PROPNAME

echo Only changes to svn:log messages are allowed. >&2

goto ERROR_EXIT

:ERROR_ACTION

echo Only modifications to svn:log revision properties are allowed. >&2

goto ERROR_EXIT

:ERROR_EXIT

exit /b 1

via ayria: Windows and SVN hooks.

UsabilityTalks: Scrum in a real life project.

InfoQ: Projetos de TI: 400% acima do orçamento e 25% dos benefícios esperados.

Hospedagem Trac & SVN no Brasil

Publicado: 17/07/2011 em GCS

Hospedagem de Sites da Mega Host – Plano SILVER e GOLD

Trac & Kanban

Publicado: 15/07/2011 em GCS

Procurando um Kanban para usar com o Trac dei de cara com este exemplo: Macke’s Blog: Trac and Kanban.
Não conformado com a formatação fiz alguns ajustes para se adequar às minhas necessidades e ao meu gosto visual.
Abaixo está o código do Kanban para ser inserido em qualquer página Wiki do Trac.


= KanBan =
{{{
#!div style="float:left; margin-right:1em; width:30%; border:1px solid #000000;background-color:#FCF8C9;color:#000000;"
{{{
#!div style="float:left; margin:10px; display:block;"

= [Backlog] Tickets Openeds =
Total: [[TicketQuery(status=new|reopened,format=count)]]

[[TicketQuery(group=priority,status=new|reopened)]]

}}}
}}}

{{{
#!div style="float:left; margin-right:1em; width:30%; border:1px solid #000000;background-color:#D7FFD7;color:#000000;"
{{{
#!div style="float:left; margin:10px; display:block;"

= [Doing] Tickets Progress =

Total: [[TicketQuery(status=accepted|testable,format=count)]]

== Started (Priority) ==

[[TicketQuery(status=accepted,order=priority,group=priority)]]

== Started (Owner) ==

[[TicketQuery(status=accepted,order=priority,group=owner)]]

}}}
}}}

{{{
#!div style="float:left; margin-right:1em; width:30%; border:1px solid #000000;background-color:#D0DEFB;color:#000000;"
{{{
#!div style="float:left; margin:10px; display:block;"

= [Done] Tickets Closeds =

Total fixed: [[TicketQuery(status=closed,resolution=fixed,format=count)]]
Other: [[TicketQuery(status=closed,resolution!=fixed,format=count)]]

== Fixed tickets ==

[[TicketQuery(status=closed,group=type,resolution=fixed)]]

== Other resolutions ==

[[TicketQuery(status=closed,group=resolution,resolution!=fixed)]]

}}}
}}}

{{{
#!div style="clear:both"
}}}

AnkhSVN: Subversion Support for Visual Studio.