Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Sat 12 Nov 2011, 02:18 Post subject:
Project Management in gtkdialog/yad/CLI/HTML Subject description: something to manage small to medium sized projects |
|
I looked for a decent project management software that didn't have over 50mb worth of dependencies, and couldn't really find anything light weight. I have a pretty basic understanding of the underlying logic, so I started thinking what it would take at a minimum.
At first I thought I would need a database like sqlite, but instead I came up with a way to store the data in a flat file that is extremely quick to parse in a shell. For graphics, we can generate an SVG directly from the shell. Here is the basic idea:
each object (task) gets its own line containing all possible properties as space separated variables:
TASK="start project" DURATION="0" PREDECESSORS="" SUCCESSORS="" ...
Using variables instead of separators will produce large files, but they will compress extremely well (duplicate data normally goes down to 1 byte per occurrence) and can be processed quite easily and much more quickly than parsing separated data and it is easier to maintain, since you don't have to look up positions and can't miscount.
Code: | while read LINE || [ "$LINE" ]; do
eval $LINE
[ "$TASK" == "$1" ] && update_entry $@ || echo $LINE
done < $DATAFILE |
The most important calculation would be the critical path. The only way I can think to do this without making it too complicated is to compute all the durations for all paths from start to finish and if the current calculation is higher than the previously computed highest, replace it. (Thus small to medium sized projects)
Once the critical path is calculated, we can then generate our gantt chart and/or successor/predecessor views using SVG data. I've experimented with this before, and drawing, text, rectangles and lines is pretty straight-forward.
here is the basic structure for SVG
Code: | <svg>
<rect width="200" height="20" x="4" y="4" style="fill:#0000ff;" id="rect1" />
<text x="11" y="17" id="text1" xml:space="preserve">START Project</text>
<line x1="204" y1="12" x2="254" y2="12" style="stroke: black;"/>
</svg> |
The beauty of such a simple design is that it could easily adapt a new interface (I could even use cgi scripts with some simple forms to make it a web app that could run on busybox httpd).
NOTE: If I start working on this, I won't have a lot of time to work on other puppy stuff ... so I ask, is this something worth pursuing? If so which interface is preffered? What features are desired?
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
UncleBaldie

Joined: 03 Feb 2008 Posts: 42 Location: Staffordshire, UK
|
Posted: Sat 12 Nov 2011, 05:01 Post subject:
|
|
Have you tried GanttProject ?
Website:
http://www.ganttproject.biz/
Demo:
http://ganttproject.sourceforge.net/demo/demo.html
Phil
_________________ Crackin' cheese, Gromit lad...
Woof-woof......oh yes !!
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 7024 Location: Auckland, New Zealand
|
Posted: Sat 12 Nov 2011, 06:25 Post subject:
|
|
Quote: | NOTE: If I start working on this, I won't have a lot of time to work on other puppy stuff ... so I ask, is this something worth pursuing? |
I don't really think it would.
Most people wanting project management software would be looking for something compatible with Microsoft Project.
It will be very rare for 50MB of dependencies to be a huge problem these days.
It would be filling a very small niche, so I think you probably wouldn't have enough users to either justify the effort, or to iron out all the bugs.
_________________ Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15588 Location: Paradox Realm
|
Posted: Sat 12 Nov 2011, 06:46 Post subject:
|
|
Project management has been tried several times.
The only system that actually seems to have been used
is bones. maybe you could develop that a bit?
http://bkhome.org/blog/?viewCat=Bones
The problem is not the software, it is getting developers to use it.
It is a cat herding problem:
http://www.murga-linux.com/puppy/viewtopic.php?t=34704&search_id=1694256696
_________________ Puppy Raspup 8.2 Final
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html 
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Sat 12 Nov 2011, 07:03 Post subject:
|
|
I did compile Planner (a fork of MrProject) which is reasonably light, but requires some deprecated libraries like libglade and it _says_ it requires libgnomeui, but I symlinked its pkgconfig file to gtk and it built fine without it. I also hacked out all of the gconf stuff just so it would compile and the package is <500kb
It uses half the resources of Rox and 1/4 of geany so overall, if someone were to update the UI to use gtkbuilder instead of libglade, it seems like it would be fairly usable for small/medium projects. I may add a wikipedia entry for it, to prevent someone else going through this whole thought process.
Description |
|
Filesize |
37.69 KB |
Viewed |
1900 Time(s) |

|
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15588 Location: Paradox Realm
|
Posted: Sat 12 Nov 2011, 08:19 Post subject:
|
|
Planner seems to be running OK in Slacko
http://live.gnome.org/Planner/About
You right click to add tasks
Now what project would you like to develop using it?
Maybe a project management system?
Most of our projects have one or two main developers
with testers and code suggestions posted to the forum.
How is this to be an improvement?
It is not that it has no use.
It is how to make use of?
_________________ Puppy Raspup 8.2 Final
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html 
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Sat 12 Nov 2011, 10:27 Post subject:
|
|
I wanted to use one for optimizing init.
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 9400 Location: Perth, Western Australia
|
Posted: Sat 12 Nov 2011, 18:00 Post subject:
|
|
technosaurus,
Congrats on compiling Planner! This has always been a gap in the Puppy suite of applications, and I have often wondered if we would ever find anything -- reasonably small, that is.
I have just downloaded it, will play with it soon.
Yes, I like your thoughts in the first post. In retrospect, I would probably have preferred to have implemented Woof as you suggest. My '|' delimiters are ok, but your suggestion is convenient in conjunction with 'eval'.
_________________ https://bkhome.org/news/
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 7024 Location: Auckland, New Zealand
|
Posted: Sat 12 Nov 2011, 20:35 Post subject:
|
|
Lobster wrote: | Project management has been tried several times.
The only system that actually seems to have been used
is bones. maybe you could develop that a bit? |
Lobster wrote: | Planner seems to be running OK in Slacko
http://live.gnome.org/Planner/About
You right click to add tasks
Now what project would you like to develop using it?
Maybe a project management system?
Most of our projects have one or two main developers
with testers and code suggestions posted to the forum.
How is this to be an improvement?
It is not that it has no use.
It is how to make use of? |
We're talking about a project management tool for Puppy users, rather than a tool for development of Puppy or for development of software for Puppy.
_________________ Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
|
Back to top
|
|
 |
jim3630

Joined: 13 Feb 2011 Posts: 792 Location: Northern Nevada
|
Posted: Sat 12 Nov 2011, 21:31 Post subject:
|
|
tried in Dpup Exprimo SMP 5.X.10.
console:
# planner
planner: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory
#
libxcb-xlib.so.0: looks like a symlink library just to show how little I know. if it is then don't know what to do with it.
missing library or is planner not suited for Dpup?
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 9400 Location: Perth, Western Australia
|
Posted: Sat 12 Nov 2011, 21:49 Post subject:
|
|
jim3630 wrote: | tried in Dpup Exprimo SMP 5.X.10.
console:
# planner
planner: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory
#
libxcb-xlib.so.0: looks like a symlink library just to show how little I know. if it is then don't know what to do with it.
missing library or is planner not suited for Dpup? |
Try this:
Code: | # ln -s libX11.so.6 /usr/lib/libxcb-xlib.so.0 |
_________________ https://bkhome.org/news/
|
Back to top
|
|
 |
jim3630

Joined: 13 Feb 2011 Posts: 792 Location: Northern Nevada
|
Posted: Sat 12 Nov 2011, 22:59 Post subject:
|
|
BarryK wrote: | jim3630 wrote: | tried in Dpup Exprimo SMP 5.X.10.
console:
# planner
planner: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory
#
libxcb-xlib.so.0: looks like a symlink library just to show how little I know. if it is then don't know what to do with it.
missing library or is planner not suited for Dpup? |
Try this:
Code: | # ln -s libX11.so.6 /usr/lib/libxcb-xlib.so.0 |
|
Hey Barry it worked!
will study your code to figure out how it worked.
ln a command to link. -s symlink. can't quite get how you came up with "6"?
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15588 Location: Paradox Realm
|
Posted: Sat 12 Nov 2011, 23:43 Post subject:
|
|
Quote: | We're talking about a project management tool for Puppy users, rather than a tool for development of Puppy or for development of software for Puppy. |
Then it makes perfect sense to include planner in Wary and Racy
http://bkhome.org/blog/?viewDetailed=02592
and move towards Plan4Pup or whatever emerges.
I would rather use a Puppy Planner, then any compromise and would be happy like others to offer feedback
Puppy
Geany
Devx
and technosaurus planner
quite a development tool . . .
_________________ Puppy Raspup 8.2 Final
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html 
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Sun 13 Nov 2011, 00:22 Post subject:
|
|
Sorry about the non-portable pet of Planner. I didn't apply my usual compile tricks because it took so much hacking just to get it to compile, that I was almost sure it wouldn't work and I didn't want to wait for the long series of trial & error compiles. I guess I am getting better at guessing what to hack on ... or maybe just luckier. I can build an optimized, portable build and/or post a diff of my hacks if anyone wants them.
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
meditate
Joined: 15 Mar 2010 Posts: 5
|
Posted: Sun 13 Nov 2011, 04:51 Post subject:
project planner |
|
Thanks and Congrats tecnosaurus
Download works fine with Lucid 5.2
Have been trying to demonstrate the power of puppy to my IT head who is suitably impressed with puppy.
This project planner would go a long way to achieve business needs.
Will look forward to improvements.
Keep up the great work.
meditate
|
Back to top
|
|
 |
|