Permalink
Browse files

2008-09-03 Ivan N. Zlatev <contact@i-nz.net>

	* generate-mono-design.py: Update to reflect anonsvn viewvc update, 
	which broke the downloading process.
	* Mono.Design/Makefile: force-invoke generate-md rule else make doesn't.
	I have no idea why.


svn path=/trunk/mwf-designer/; revision=112187
  • Loading branch information...
1 parent 4349c11 commit 0d322c47686559c15270f982105931431e8e3674 @ivanz ivanz committed Sep 3, 2008
Showing with 13 additions and 4 deletions.
  1. +7 −0 ChangeLog
  2. +2 −1 deps/Mono.Design/Makefile
  3. +4 −3 deps/Mono.Design/generate-mono-design.py
View
@@ -1,5 +1,12 @@
2008-09-03 Ivan N. Zlatev <contact@i-nz.net>
+ * generate-mono-design.py: Update to reflect anonsvn viewvc update,
+ which broke the downloading process.
+ * Mono.Design/Makefile: force-invoke generate-md rule else make doesn't.
+ I have no idea why.
+
+2008-09-03 Ivan N. Zlatev <contact@i-nz.net>
+
* CodeProvider.cs: Fix CreateUniqueMethodName.
2008-09-03 Ivan N. Zlatev <contact@i-nz.net>
@@ -14,7 +14,8 @@ net-1:
clean:
rm -f .generated
-update: clean generate-md
+update: clean
+ make generate-md
generate-md:
ifeq (,$(findstring .generated,$(wildcard .*)))
@@ -20,16 +20,14 @@ def main ():
print exc
def fetch_source_code (files):
- svn = "http://anonsvn.mono-project.com/source/trunk/mcs/"
for file in files:
directory = os.path.dirname (file)
if directory != "": # quick hack to only download assembly files and not the ones we already have
if not os.path.exists (directory):
os.makedirs (directory)
-
for i in range (1, 4): # retry 3 times
try:
- webFile = urllib.urlopen (svn + file)
+ webFile = urllib.urlopen (file_to_url (file))
localFile = open (file, 'w+')
localFile.write (webFile.read())
webFile.close ()
@@ -40,6 +38,9 @@ def fetch_source_code (files):
print "E " + file
print exc
+def file_to_url (file):
+ return "http://anonsvn.mono-project.com/viewvc/trunk/mcs/" + file + "?view=co"
+
def get_files ():
try:
file = open ("Mono.Design.sources")

0 comments on commit 0d322c4

Please sign in to comment.