Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (118 - 120 of 894)

Ticket Owner Reporter Resolution Summary
#648 solj Martin <[email protected]…> fixed Bundler: negate Attribute value
Description

I just noticed that negate="True" doesn't work while negate="true" does. This is the opposite of what is explained here: http://trac.mcs.anl.gov/projects/bcfg2/wiki/WritingSpecification#AbstractGroupTag

Very tricky as my rule did the opposite of what it was supposed to do...

#591 desai [email protected] fixed Call RefreshPackages only one time in APT tool
Description

Hi,

The method RefreshPackages? is called twice on APT initialization (it is called in APT.init and Bcfg2.Client.Tools.PkgTool?.init). This is not a real problem, it's just take time. If you want I include a patch to remove it.

Thanks.

#1022 rcuza rcuza fixed Can't build v1.2.0pre3 tag on OS X 10.6.8
Description

When trying to build the OS X package of Bcfg2 I run into a repeatable error (see attached text file for full make output) related to BCFGVER variable in the makefile:

...
<snip snip>
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `/bin/echo if sys.hexversion < 0x03000000 and os.path.exists(py3lib): 1.2.0pre3 | /usr/bin/cut -d"." -f1'
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `/bin/echo if sys.hexversion < 0x03000000 and os.path.exists(py3lib): 1.2.0pre3 | /usr/bin/cut -d"." -f2'
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `/bin/echo if sys.hexversion < 0x03000000 and os.path.exists(py3lib): 1.2.0pre3 | /usr/bin/cut -d"." -f3'
...
<snip snip>
...
rm -rf `pwd`/bcfg2-if sys.hexversion < 0x03000000 and os.path.exists(py3lib): 1.2.0pre3.pkg
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `rm -rf `pwd`/bcfg2-if sys.hexversion < 0x03000000 and os.path.exists(py3lib): 1.2.0pre3.pkg'
make: *** [server] Error 2

Here are the occurrences of the BCFGVER variable in the makefile:

$ grep BCFGVER Makefile 
BCFGVER = $(shell /usr/bin/grep version ../setup.py | cut -d\" -f2)
BCFGVER1 = $(shell /bin/echo ${BCFGVER} | /usr/bin/cut -d"." -f1)
BCFGVER2 = $(shell /bin/echo ${BCFGVER} | /usr/bin/cut -d"." -f2)
BCFGVER3 = $(shell /bin/echo ${BCFGVER} | /usr/bin/cut -d"." -f3)
BCFGVER3I = $(shell /usr/bin/python -c "import sys; print sys.argv[1][0:1]" ${BCFGVER3})
MAJOR = ${BCFGVER1}
MINOR = ${BCFGVER2}${BCFGVER3I}
        sed -i '' "s/{SHORTVERSION}/${BCFGVER}/g" "${PKGTMP}/${PROTO_PLIST}"
        rm -rf `pwd`/bcfg2-${BCFGVER}.pkg
                          --out `pwd`/bcfg2-${BCFGVER}.pkg
        rm -rf `pwd`/bcfg2-${BCFGVER}.pkg
                          --out `pwd`/bcfg2-${BCFGVER}.pkg

When run manually this is the output:

$ grep version ../setup.py | cut -d\" -f2
if sys.hexversion < 0x03000000 and os.path.exists(py3lib):
1.2.0pre3

The expected output is 1.2.0pre3.

Note: See TracQuery for help on using queries.