Results 1 to 7 of 7

Thread: Understanding live versioning in Lianja

  1. #1
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,159
    Blog Entries
    22

    Understanding live versioning in Lianja

    Whenever you edit a source file in an app (.prg, .php, .py, .js etc) a backup version wil be kept in the versions workspace (as long as you keep your prg files contained within the app -- this is needed for sandboxing in Lianja Cloud which you will realize soon).

    If an App is causing an issue or won't load properly, prior to opening it you can go to the "Versions" workspace and recover any app file (.lianja extension) or any source files (e.g. .prg, .php, .py, .js etc).

    Just expand the file tree and you will see a chronological list of files that have been modified since the beginning of time. You double click on a file and it will be displayed readonly in the code viewer.

    You can click the "restore" button in the top right hand corner to restore a version.

    At any time you can come back to the versions workspace and roll back or roll forward to any point in time to see how your app looks when you do changes to either its behavior of its appearance.
    Last edited by barrymavin; 2012-10-20 at 20:45.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  2. #2
    Member
    Join Date
    Jul 2012
    Location
    Germany
    Posts
    94
    "as long as you keep your prg files contained within the app"

    How do I have to do that? I have a app and when I go to section Apps, in Files > Script Files there are my PRG-files. But in Versions there are no Prg-files. Where do i have to say, that a PRG-file is "within the app"?

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,159
    Blog Entries
    22
    If you look in the versions tree your previously edited .prg files are there. They are an my machine.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  4. #4
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,159
    Blog Entries
    22
    Jens, You just create it in the app. When you edit it its previous version should be in versions. How are you editing these prg files?
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  5. #5
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,159
    Blog Entries
    22
    I just created a "test" App, then created a script called "mytest.prg". Every time it gets saved after editing a version is kept. See this screenshot.
    Name:  version_files.png
Views: 130
Size:  18.1 KB
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  6. #6
    Member
    Join Date
    Jul 2012
    Location
    Germany
    Posts
    94
    Sorry, my fault. I looked in several folders and there was only the .lianja file. Now I looked in ALL folders and there are also the PRGs. It works :-)

  7. #7
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,159
    Blog Entries
    22
    In Lianja App Builder Beta10 files in the library workspace are now also versioned when edited. You can now rollback and forward between different versions of your library files from the "Versions" workspace.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us