we really need to copy here, symlinks wont work due to the rights
of the queues. the webserver wont see the embargoed fun otherwise
Signed-off-by: Joerg Jaspert <joerg@debian.org>
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
from daklib import utils
from daklib.dbconn import *
from daklib import utils
from daklib.dbconn import *
suite = get_suite(suite_name, session)
for q in suite.copy_queues:
for f in u.pkg.files.keys():
suite = get_suite(suite_name, session)
for q in suite.copy_queues:
for f in u.pkg.files.keys():
- os.symlink(os.path.join(polq.path, f), os.path.join(q.path, f))
+ copy(os.path.join(polq.path, f), q.path)
#
#################################################################################
#
#
#################################################################################
#
suite = get_suite(suite_name, session)
for q in suite.copy_queues:
for f in u.pkg.files.keys():
suite = get_suite(suite_name, session)
for q in suite.copy_queues:
for f in u.pkg.files.keys():
- os.symlink(os.path.join(polq.path, f), os.path.join(q.path, f))
+ copy(os.path.join(polq.path, f), q.path)
################################################################################
################################################################################