Parts Tracker :: Parts List :: Activity :: Submit :: PT Tools :: PT Reference :: LDraw Specifications :: Lookup

Parts Tracker Tasks List Version 00

This is a copy of an old list, archived on 2001-Oct-12. See the current sheet.

These are the outstanding tasks required to get the initial version of the parts tracker up and running. Tasks are listed by file.

  • ptrm
    • Remove the .meta and .vote files when removing a .dat file. ptupdate uses the presence of these files to indicate needed processing. (added 7-Sep seb)
  • submit.cgi
    • Enh: auto-generate comments for warning messages, such as 'invalid filename for part. must be fixed before part can be released'. Add these comments in the .meta review file.
    • Enhancement: allow a comment to be posted with the submission. (added 10-Sept seb)
    • Submit does not die correctly when updating an existing file, and web user doesn't have write-rights to the existing file. (added 8/30 seb)
    • Add logic to display blank form when no data is supplied. (added 8/30 seb) done 8/31 seb
    • Analyze performance of script. (added 8/28 seb)
    • Remove debug code.
    • Track uid of submitter (added 8/27 seb).
    • (enhancement, not POR): modify check_ldraw_file to return 20 errors.
    • Insert LDRAW_ORG header line into parts, as they are submitted.
    • Update to use paths.cfg done 8/15 seb
      8/20 - converted paths.cfg code to PT.pm - seb.
    • Standardize html layout done 8/20 seb
    • Add 'submit' keyword to logfile entry. done 8/20 seb
  • review.cgi
    • BUG: Review comments are being cut off at single-quotes, question marks, and probably other punctuation. (added 8/31 seb) done Sep-5 seb
    • Analyze performance of script. (added 8/28 seb)
    • Remove debug code.
    • Add logic to check privileges of user - only allow authorized reviewers to post reviews. done Sep-5 seb
    • Update to use PT.pm done 8/20 seb
    • Standardize html layout done 8/20 seb
    • Log activity to submit logfile. Tag entries with 'review' keywords. done 8/20 seb
    • Debugged review.cgi. 8/22 seb
    • Added show param, to force display of form with partname filled in. 8/22 seb
  • detail.cgi
    • Analyze performance of script. (added 8/28 seb)
    • Include code to display the contents of .meta and .vote. done seb 8/22
    • ... and the review-post form. done seb 8/22
    • Update dependencies code to allow for new item (official/unofficial) in the input data. Only display unofficial items on webpage. done seb 8/22
    • Update paths.cfg to PT.pm.done 8/?? seb
    • Write it. See library/tracker/*.html for static examples of layout. done 8/16 seb
    • Be sure to use paths.cfg done 8/16 seb
    • Include code to display links to the tracker index, part-submit form done 8/16 seb
    • ... and the detail page for the part. done 8/20 seb
    • Include code to list links to unofficial sub-files (see use of $DEPENDS_FILE in updateweb.pl). done 8/16 seb
    • Standardize html layout done 8/16 seb
    • Changed f param to filename in link to review.cgi
  • review.tmpl
    • Keep heading/footer in synch with page_head.htmf and page_foot.htmf. done 8/31 seb
    • Cleaned up code, removed redundant html headers. 8/22 seb
    • added <<file>> tag, to be replaced with actual filename by review.cgi.
  • PT.pm / paths.cfg
    • Add setting for zip unofficial-download file. done 8/24 seb
    • Add setting to point to user-privileges file. done 8/30 seb
    • Converted paths.cfg to PT.pm done 8/16 seb
    • Add setting to point to detail.cgi done 8/16 seb
    • Add setting to point to reviews html template. done 8/20 seb
  • settings/users.roles
    • Figure out how this file works. done 8/30 seb
  • ptupdate
    • Analyze performance of script. (added 8/28 seb)
    • Create and update library/unofficial/parts.lst - see download/parts/parts.txt for format. (added 8/27 seb)
    • On the index.html page, add certification-vote summary for each part file. Maybe show an icon for each reviewer's nod? (x=no, check=yes, ?=novote)
    • Log uid ...
    • and date of submissions. (added 8/27 seb) done 8/31 seb
    • Set up cron job done Sep-5 seb
    • Rename updateweb.pl to ptupdate done Sep-5 seb
    • BUG: multiple votes from single reviewer are recorded to vote file. Newest vote should overwrite prior vote. done Sep-5 seb
    • Extract write_index and the zip-update routines to a subfile, so they can be executed as needed. (added 8/31 seb) done Sep-5 seb
    • BUG: write_index should list all four file types (parts, subparts, primitives and hi-res primitives), even if there are no files for some types. (added 8/31 seb) done Sep-5 seb
    • BUG: Review comments are being cut off at single-quotes, question marks, and probably other punctuation. (added 8/31 seb) done Sep-5 seb
    • Fix bug reading/interpreting reviews. done 8/23 seb
    • Fix bug where the "A new version was submitted" message is posted for a submitted file, when the proper message is "the file is added". done 8/23 seb
    • Update zip file with new parts. done 8/24 seb
    • Resolve compiler warnings. done 8/22 seb
    • Review code for performance / code size gains done 8/17 db
    • In write_index, write out a link to submit.html done 8/15 seb
    • Restructure code; use the submit.log entries as the main loop, handling each submit and review as it appears in the file. done 8/21 seb
    • Add introductory text for index.html to write_index. done 8/24 seb
  • download.html
    • Keep heading/footer in synch with page_head.htmf and page_foot.htmf. done Sep-19 seb
    • Write static html page for downloading zip of all current unofficial parts. done 8/24 seb
  • page_head.htmf - html fragment for dynamic pages.
    • Updated download link to point to download.html. done 8/24 seb
  • WebIndex.pm - perl module to refresh web files
    • Make sure all Section headings (Parts, Subparts, ...) are displayed, even if there are some sections with no files. done 5-Sept seb
    • Make sure "(no parts in this section)" messages are displayed correctly. done 5-Sept seb
  • release.pl
    • write it

Finally: test, Test, TEST!

Near future:

  • An 'unsubmit' function is needed, to allow files to be removed from the unofficial set. (added 8/28 seb)
  • Move dependencies file, .meta (reviews), and .vote (certifications) into ldraw library location other than the unofficial library directories.
  • Replace monolithic dependencies file with individual files for each part - one for superfiles, one for subfiles.
  • Develop "get a part number" interface.
  • Develop "get a pattern number" interface.
  • Develop "rename a part" interface.
  • A help/info/about page is much needed!
  • Especially a 'how do I figure out or obtain the number(s) for my part help page.
  • And a page explaining the part-numbering scheme.
  • Page(s) devoted to KEYWORDS, CATEGORIES, and BFC would be very useful.
  • Split library/tracker/index.html into two pages: a true start page, and a separate file-list page. done Sep-19 seb
  • Make a dynamic page to show 'parts ready for release'
  • And another page to show 'parts most needing review'
  • Develop cgi to show diffs for a part
  • Develop cgi to return MPD stream for a part, including all unofficial subfiles needed.


© 2001-2008 LDraw.org, see Legal Info for details. This website is powered by Peeron.com.

LEGO® is a registered trademark of the LEGO Group, which does not sponsor, endorse, or authorize this site. Visit the official Lego website at http://www.lego.com/.
The LDraw system is a completely unofficial, community run free CAD system which represents official parts produced by the LEGO company.
The LDraw Parts Tracker is maintained and developed by voluntary members of the LDraw organisation.