From: fsaintma Date: Mon, 13 Apr 2015 14:05:57 +0000 (+0200) Subject: Merge branch 'iotlab_driver' into geni-v3 X-Git-Tag: sfa-3.1-15~15 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=e3cef34c5f65d6c1eaa8cbd78703cc059cad0769;hp=7ed562fe034ce993bd699815bc642e22903caf6a Merge branch 'iotlab_driver' into geni-v3 --- diff --git a/Makefile b/Makefile index ca37ab65..5c18942c 100644 --- a/Makefile +++ b/Makefile @@ -22,10 +22,6 @@ rpmtaglevel:=$(shell rpm -q --specfile sfa.spec --queryformat="%{release}\n" 2> VERSIONTAG=$(rpmversion)-$(rpmtaglevel) # this used to be 'should-be-redefined-by-specfile' and it indeed should be SCMURL=git://git.onelab.eu/sfa.git -TARBALL_HOST=root@build.onelab.eu -TARBALL_TOPDIR=/build/sfa -# I have an alternate pypitest entry defined in my .pypirc -PYPI_TARGET=pypi python: version @@ -142,6 +138,11 @@ signatures: .PHONY: signatures ########## for uploading onto pypi +# use pypitest instead for tests (both entries need to be defined in your .pypirc) +PYPI_TARGET=pypi +PYPI_TARBALL_HOST=root@build.onelab.eu +PYPI_TARBALL_TOPDIR=/build/sfa + # a quick attempt on pypitest did not quite work as expected # I was hoping to register the project using "setup.py register" # but somehow most of my meta data did not make it up there @@ -167,8 +168,8 @@ git: # run this only once the sources are in on the right tag pypi: index.html setup.py sdist upload -r $(PYPI_TARGET) - ssh $(TARBALL_HOST) mkdir -p $(TARBALL_TOPDIR)/$(VERSIONTAG) - rsync -av dist/sfa-$(VERSIONTAG).tar.gz $(TARBALL_HOST):$(TARBALL_TOPDIR)/$(VERSIONTAG) + ssh $(PYPI_TARBALL_HOST) mkdir -p $(PYPI_TARBALL_TOPDIR)/$(VERSIONTAG) + rsync -av dist/sfa-$(VERSIONTAG).tar.gz $(PYPI_TARBALL_HOST):$(PYPI_TARBALL_TOPDIR)/$(VERSIONTAG) # cleanup clean: readme-clean diff --git a/setup.py b/setup.py index f7c70115..15ccf587 100755 --- a/setup.py +++ b/setup.py @@ -137,18 +137,19 @@ else: except: long_description = "Unable to read index.html" - setup(name='sfa', - packages = packages, - data_files = data_files, - version=version_tag, - keywords = ['federation','testbeds','SFA','SfaWrap'], - url="http://svn.planet-lab.org/wiki/SFATutorial", - author="Thierry Parmentelat, Tony Mack, Scott Baker", - author_email="thierry.parmentelat@inria.fr, tmack@princeton.cs.edu, smbaker@gmail.com", - download_url = "http://build.onelab.eu/sfa/{v}/sfa-{v}.tar.gz".format(v=version_tag), - description="SFA Wrapper with drivers for PlanetLab and IotLab and others", - license = license, - long_description = long_description, - scripts = scripts, + setup( + name = 'sfa', + packages = packages, + data_files = data_files, + version = version_tag, + keywords = ['federation','testbeds','SFA','SfaWrap'], + url = "http://svn.planet-lab.org/wiki/SFATutorial", + author = "Thierry Parmentelat, Tony Mack, Scott Baker", + author_email = "thierry.parmentelat@inria.fr, tmack@princeton.cs.edu, smbaker@gmail.com", + download_url = "http://build.onelab.eu/sfa/{v}/sfa-{v}.tar.gz".format(v=version_tag), + description = "SFA Wrapper with drivers for PlanetLab and IotLab and others", + license = license, + long_description = long_description, + scripts = scripts, ) diff --git a/sfa.spec b/sfa.spec index ac2cb5ee..92755422 100644 --- a/sfa.spec +++ b/sfa.spec @@ -1,6 +1,6 @@ %define name sfa %define version 3.1 -%define taglevel 13 +%define taglevel 14 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" ) @@ -264,6 +264,14 @@ fi #[ "$1" -ge "1" ] && service sfa-cm restart || : %changelog +* Thu Apr 09 2015 Thierry Parmentelat - sfa-3.1-14 +- for SSL & python-2.7.9: ignore server verification +- assume 2.7: remove compat code - always use HTTPSConnection (not HTTPS anymore) +- fix: Reset GIDs works even if user has no pub_key +- tweak for ubuntu (that does not have systemctl) +- iotlab driver: fix ldap account creation at each lease +- miscell cosmetic & layout + * Mon Dec 01 2014 Thierry Parmentelat - sfa-3.1-13 - bugfix - was adding extraneous backslashes in email address when attempting to AddPerson