But then there's the problem of standardizing make invocation so that projects can call make in other projects and have it run the same as when WW does it, and also having it be transparent like that in exported project directories. I'm looking for the tracker item(s) relating to that. That may be the top priority.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And anything that comes up that's needed to get the yushan theobio wikis up and running will take priority. Also if an off-site user has something come up that's urgent for their wikis.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Another important one: improve the prerequisite projects interface. Lots of suggestions, but the really important one is the ability to click through and see if your link is working.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The ghost Makefile problem. Somebody somehow deletes a .mk file from the PD, but it remains in the working directory. These have caused major nightmares on at least 3 occasions. The kind of thing that could make someone give up on WW, IMO.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I thought there was a conversation about the ghost .mk files but I don't see it here - it must have been in email. WW is supposed to delete files from the working directory when they're removed from the project. It could be leaving them due to buggy programming, or it could be that files are deleted, but they're present in preview or background directories so that they're recreated during the merge.
Anyway, this would be addressed by WW explicitly naming the source files in each make request rather than leaving it to PE to use "*.mk".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What I meant by controlling default .tex rules was the ability to disable .d dependencies when I want to. This could turn out to be as simple as figuring out how to override the right parts of the default rules in my own .mk files -- I will experiment with it when I get the chance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
which would allow a project author to set $(tex_files_for_d) to something else. It crashed the makefile, probably for some trivial reason. I was thinking it might be better to set $(tex_files_for_d) in makefile-before and use it in makefile-after, which is more the pattern I try to use for the rest of the makefile logic, and would allow the project author to set the variable to something else after it's set and before it's used (that's why we have some stuff before the project makefiles and some stuff after).
Maybe I would like it better if we set $(tex_d_files) to the actual list of .d files and worked with that instead. Would that work for you, do you think?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in makefile after. This should work exactly like the single line in makefile-after that was there before, and it seems to, except that your makefiles can change the value of $(tex_d_files) before it's used.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem of not reconstructing project files on historical pages has come to my attention, and it would be good for presenting WW to the outside world: https://sourceforge.net/tracker/?func=detail&aid=3471988&group_id=366300&atid=1527385
But then there's the problem of standardizing make invocation so that projects can call make in other projects and have it run the same as when WW does it, and also having it be transparent like that in exported project directories. I'm looking for the tracker item(s) relating to that. That may be the top priority.
And anything that comes up that's needed to get the yushan theobio wikis up and running will take priority. Also if an off-site user has something come up that's urgent for their wikis.
OK, here's the make issue, the highest priority item in the feature requests tracker:
https://sourceforge.net/tracker/?func=detail&aid=3134685&group_id=366300&atid=1527388
My quick suggestions for high priority are:
Last edit: Lee Worden 2012-08-31
Another important one: improve the prerequisite projects interface. Lots of suggestions, but the really important one is the ability to click through and see if your link is working.
The ghost Makefile problem. Somebody somehow deletes a .mk file from the PD, but it remains in the working directory. These have caused major nightmares on at least 3 occasions. The kind of thing that could make someone give up on WW, IMO.
I thought there was a conversation about the ghost .mk files but I don't see it here - it must have been in email. WW is supposed to delete files from the working directory when they're removed from the project. It could be leaving them due to buggy programming, or it could be that files are deleted, but they're present in preview or background directories so that they're recreated during the merge.
Anyway, this would be addressed by WW explicitly naming the source files in each make request rather than leaving it to PE to use "*.mk".
would you say more about what kind of control you want?
it looks like including all the .mk files twice is this one:
https://sourceforge.net/tracker/index.php?func=detail&aid=3308134&group_id=366300&atid=1527385
including the .mk files twice is fixed now. (Please tell me if it turns out it isn't!)
What I meant by controlling default .tex rules was the ability to disable .d dependencies when I want to. This could turn out to be as simple as figuring out how to override the right parts of the default rules in my own .mk files -- I will experiment with it when I get the chance.
some open items relating to prerequisite projects:
Prerequisite project is clunky
https://sourceforge.net/tracker/index.php?func=detail&aid=3285516&group_id=366300&atid=1527385
external links for external projects
https://sourceforge.net/tracker/index.php?func=detail&aid=3190568&group_id=366300&atid=1527385
right, so we had experimented a little with
ifeq ($(origin tex_files_for_d), undefined)
tex_files_for_d = $(patsubst %.tex,%.d,$(wildcard *.tex))
endif
include $(tex_files_for_d)
which would allow a project author to set $(tex_files_for_d) to something else. It crashed the makefile, probably for some trivial reason. I was thinking it might be better to set $(tex_files_for_d) in makefile-before and use it in makefile-after, which is more the pattern I try to use for the rest of the makefile logic, and would allow the project author to set the variable to something else after it's set and before it's used (that's why we have some stuff before the project makefiles and some stuff after).
Maybe I would like it better if we set $(tex_d_files) to the actual list of .d files and worked with that instead. Would that work for you, do you think?
"external links for external projects" is closed now.
I've made the change for .tex files by defining
tex_d_files = $(patsubst %.tex,%.d,$(wildcard *.tex))
in makefile-before and placing
include $(tex_d_files)
in makefile after. This should work exactly like the single line in makefile-after that was there before, and it seems to, except that your makefiles can change the value of $(tex_d_files) before it's used.
the item for explicitly naming source files is
https://sourceforge.net/tracker/index.php?func=detail&aid=3487370&group_id=366300&atid=1527388
time to summarize what's still here.
Implement default rules using a source makefile
https://sourceforge.net/tracker/index.php?func=detail&aid=3475029&group_id=366300&atid=1527388
Prerequisite project is clunky
https://sourceforge.net/tracker/index.php?func=detail&aid=3285516&group_id=366300&atid=1527385
Ghost makefile problem
https://sourceforge.net/tracker/index.php?func=detail&aid=3473560&group_id=366300&atid=1527385
Get rid of implicit project descriptions
https://sourceforge.net/tracker/index.php?func=detail&aid=3435209&group_id=366300&atid=1527385
historical contents of project files
https://sourceforge.net/tracker/?func=detail&aid=3471988&group_id=366300&atid=1527385
renaming from "priorities for winter 2012" to "priorities" for ongoing use.
I hope to come back to here soon and add a list of new items that have come up in the last month or two.
Of the things that have come up since march, here are the ones that might be considered high priority.
HTML security issues making WW look bad to would-be adopters
https://sourceforge.net/tracker/index.php?func=detail&aid=3492411&group_id=366300&atid=1527385
syntax highlight weirdness
http://sourceforge.net/tracker/index.php?func=detail&aid=3280491&group_id=366300&atid=1527385
exporting can bring the server to its knees
https://sourceforge.net/tracker/index.php?func=detail&aid=3530909&group_id=366300&atid=1527385
Import files forgets what it is doing
https://sourceforge.net/tracker/index.php?func=detail&aid=3529260&group_id=366300&atid=1527385
edit buttons to add empty source/project files
http://sourceforge.net/tracker/index.php?func=detail&aid=3106155&group_id=366300&atid=1527388
file name ending in / => insanity
http://sourceforge.net/tracker/index.php?func=detail&aid=3527018&group_id=366300&atid=1527385
I think I'll update the 'priority' flag so that all and only the bugs listed on this page have priority 6 rather than 5.
I was working on getting rid of implicit project descriptions and didn't finish, so I think I'll try to finish that up now.
[Update: finished.]
Last edit: Lee Worden 2012-08-31