• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Script Versions/Revisions

Scheduled Pinned Locked Moved Developers' Forum
3 Posts 3 Posters 649 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    Jim
    last edited by 2 Feb 2008, 14:06

    How do script writers manage script versions? Is there generally accepted numbering system?

    Hi

    1 Reply Last reply Reply Quote 0
    • A Offline
      AdamB
      last edited by 2 Feb 2008, 14:56

      I've adopted the sketchup protocol of implementing a method called version_number in your main Module. I use a format of majorversion.minorversion{a-z}

      The letters being patches / bug fixes to minor versions.

      Adam

      Developer of LightUp Click for website

      1 Reply Last reply Reply Quote 0
      • T Offline
        todd burch
        last edited by 4 Feb 2008, 23:42

        I typically leave a comment in the script to its version.

        At Smustard, we have grandiose plans for implementing common structures and runtime reports for information such as this, but have not done so yet.

        This could be achieved by the script registering it's information at runtime (a "push" method, of sorts, like we all do for $loaded_files) or a script could implement a method where it could be queried for it's information (a "pull" method - with neither "push" nor "pull" suggesting an appropriate name - just used as an illustration).

        Like Progressbar, if we come up with something at Smustard, it could be used by all.

        Todd

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement