#546 open

Reinstalling a script under SVN creates a new folder-1

Reported by Maija | September 27th, 2011 @ 05:57 PM | in Bug Crushing

Provide the following information:

  1. Your operating system (and version)
    Win XP64

  2. Your browser (and version)
    FF 6.0.2

  3. The version of Scriptish you are using

  4. Your language and/or locale (e.g. "en-US")

When there's a foreign object (file|folder) in this case .svn (hidden folder) in the script installation folder, during a script reinstall, Scriptish installs the script into a new /folder-1.

I think I understand why you'd want to do that, but in this case it breaks the versioning. I can deal with that in a round-a-bout way, and it's quite rare I'd want to reinstall the script - unless I was testing script updating feature.

Would it be possible to make an exception for subversion .svn hidden folders?

Comments and changes to this ticket

  • Erik Vold

    Erik Vold September 27th, 2011 @ 09:59 PM

    • State changed from “new” to “open”
    • Milestone set to Bug Crushing
    • Tag set to bug, bug-investigate
    • Importance changed from “” to “Medium”
  • Erik Vold

    Erik Vold December 18th, 2011 @ 05:09 PM

    So long as the needed bits are on the HD, I don't think Scriptish will complain, or act funny..

    How do you end up with a .svn folder anyhow?

  • Maija

    Maija December 19th, 2011 @ 03:55 AM

    My apology, I don't understand the first sentence of your response.

    I ended up with a .svn folder because that's where I develop. Any code that is part of a subversion repo will get versioned and thus have an accompanying .svn folder.

  • Erik Vold

    Erik Vold December 19th, 2011 @ 04:06 AM

    how do you install the script?

  • Maija

    Maija December 19th, 2011 @ 04:25 AM

    Drop a new version onto Firefox browser window, then click the reinstall button.

  • Erik Vold

    Erik Vold December 20th, 2011 @ 06:06 PM

    So before the script is installed, you move the script into the scriptish_scripts folder? then you drag and drop the script from the scriptish_scripts folder into FF and click the install button?

  • Maija

    Maija December 20th, 2011 @ 06:17 PM

    No, install the script as normal, scriptish creates a folder for it scriptish_scripts/yourscript
    So now you can develop the code in there... sub-version it... develop... etc everything working fine.

    then take a copy of the script from the scriptish_scripts/yourscript folder
    pretend you are getting an update version from your coder friend
    drop the update on FF then {barf}

    You now have scriptish_scripts/yourscript folder and a scriptish_scripts/yourscript-1 folder with the installation in the -1 folder.

    If .svn wasn't originally in scriptish_scripts/yourscript folder then Scriptish would simply replace the existing script and everything would remain in scriptish_scripts/yourscript.

    With me?

  • Erik Vold

    Erik Vold December 20th, 2011 @ 06:33 PM

    • Assigned user set to “Erik Vold”

    I think I understand now, I will have to test this out though, it's curious..

  • Maija

    Maija December 21st, 2011 @ 01:53 AM

    It happens with any foreign file in the installation folder btw.
    I imagine it's done like this for security so that reinstalls occur in a known pristine environment.
    But I thought .svn could be considered as a legitimate foreign file that's why I made this ticket.
    Thank you for looking into it.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket