- Forward port from trunk: these comments should exists in trunk:

* created pisi.conf should have the values uncommented, these are the real values anyway.

* package_cache default is set to False for package-manager for a new Pardus installation.
  This was the default behaviour for pm. But if a pisi.conf file exists (for an already installed
  system), setup.py does not overwrite it. So no package_cache_X values will be in pisi.conf. (Question:
  Why do we create pisi.conf in setup.py, why not an additional file) In this case package-manager's
  default is, use package cache to keep user's cached packages.

- TODO: pisi should use these values in cli also, cause this is pisi.conf! or maybe this was not
  the right place for this from the start or was it? :/
This commit is contained in:
Faik Uygur
2007-05-24 12:13:29 +00:00
parent fadee6b720
commit 0499786b1d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ class GeneralDefaults:
http_proxy = (os.getenv("http_proxy") or os.getenv("HTTP_PROXY")) or None
https_proxy = (os.getenv("https_proxy") or os.getenv("HTTPS_PROXY")) or None
ftp_proxy = (os.getenv("ftp_proxy") or os.getenv("FTP_PROXY")) or None
package_cache = True
package_cache = False
package_cache_limit = 0
class BuildDefaults:
+1 -1
View File
@@ -76,7 +76,7 @@ class Install(install):
and not m[0].endswith('__')]
for member in section_members:
pisiconf.write("# %s = %s\n" % (member[0], member[1]))
pisiconf.write("%s = %s\n" % (member[0], member[1]))
pisiconf.write('\n')