Regarding the unicode thread:
https://fedorahosted.org/pipermail/cobbler/2009-April/003722.html
Here is a fix:
http://git.fedorahosted.org/git/?p=cobbler;a=commit;h=b4f0fe496d05e9acce310a...
Steps to test:
CentOS 4.7 base install in KVM Configure for both EPEL 4 and EPEL 4 testing # git clone git://git.fedorahosted.org/cobbler # cd cobbler # make devinstall # touch /tmp/foo # cobbler distro add --name=d1 --initrd=/tmp/foo --kernel=/tmp/foo # cobbler repo add --name=r1 --mirror=http://x # cobbler repo add --name=r2 --mirror=http://y # cobbler profile add --name=p1 --distro=d1 --repos="r1 r2" # cobbler profile report
You should see the unicode version:
repos: [ u"r1", u"r2" ]
or the ascii version:
repos: [ "r1", "r2" ]
Both of which are correct
repos: [ "ur1", "ur2" ]
Is not correct.
1.6.3 will be released approximately next Friday.
Enterprising readers may note that the above patch also contains some streamlining of the repo assignment code that is also *not related* to the bugfix. No sense not taking the opportunity to do some minor cleanup at the same time.
Please ignore the comments from me simplejson versioning, we will not be seeking an update for that.
--Michael
Regarding the unicode thread:
https://fedorahosted.org/pipermail/cobbler/2009-April/003722.html
Here is a fix:
http://git.fedorahosted.org/git/?p=cobbler;a=commit;h=b4f0fe496d05e9acce310a...
Steps to test:
CentOS 4.7 base install in KVM Configure for both EPEL 4 and EPEL 4 testing # git clone git://git.fedorahosted.org/cobbler # cd cobbler # make devinstall # touch /tmp/foo # cobbler distro add --name=d1 --initrd=/tmp/foo --kernel=/tmp/foo # cobbler repo add --name=r1 --mirror=http://x # cobbler repo add --name=r2 --mirror=http://y # cobbler profile add --name=p1 --distro=d1 --repos="r1 r2" # cobbler profile report
You should see the unicode version:
repos: [ u"r1", u"r2" ]
or the ascii version:
repos: [ "r1", "r2" ]
Both of which are correct
repos: [ "ur1", "ur2" ]
Is not correct.
1.6.3 will be released approximately next Friday.
Enterprising readers may note that the above patch also contains some streamlining of the repo assignment code that is also *not related* to the bugfix. No sense not taking the opportunity to do some minor cleanup at the same time.
Please ignore the comments from me simplejson versioning, we will not be seeking an update for that.
works for me!
thanks
cobbler@lists.fedorahosted.org