Hi all,

We are using a tool to perform continuous builds (on every CVS change)
on the linux kernel blackboard module.

I would need to have a date indication in the name of the generated package ;
For this, see the Attached patch.

- Comments/fixes are welcome
- tested on GNU/Linux
- the date indication will be only available under Unix systems (I
don't have time/motivation to search how to get the date with windows)

Subsidiary question:
Our "continuous builds" tool (Hudson) can send emails in case of  Failed build.
Is there any TSP address where I could send such notifications ?

Thanks
         Jérôme
? build
? date_in_verion.patch
Index: CMakeLists.txt
===================================================================
RCS file: /sources/tsp/tsp/CMakeLists.txt,v
retrieving revision 1.58
diff -r1.58 CMakeLists.txt
101c101,109
< SET(PACKAGE_VERSION_PATCH "4cvs")
---
> IF (UNIX)
>   EXECUTE_PROCESS(
>     COMMAND date +%Y%m%d
>     OUTPUT_VARIABLE VERSION_DATE
>     OUTPUT_STRIP_TRAILING_WHITESPACE)
>   SET(PACKAGE_VERSION_PATCH "4cvs${VERSION_DATE}")
> ELSE (UNIX)
>   SET(PACKAGE_VERSION_PATCH "4cvs")
> ENDIF (UNIX)  
102a111,113
> 
> MESSAGE(STATUS "PACKAGE_VERSION is : ${PACKAGE_VERSION}")
> 
_______________________________________________
Tsp-devel mailing list
Tsp-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tsp-devel

Répondre à