You are here

Canonical Bazaar for Windows (version control system, Python)

18 posts / 0 new
Last post
Ross Kemp
Offline
Last seen: 13 years 3 months ago
Joined: 2011-08-01 18:14
Canonical Bazaar for Windows (version control system, Python)

Good day mates

If some bloke decides to take this challenge and make a portable version of Bazaar for Windows, he will have my sincerest appreciation.

http://bazaar.canonical.com/en/

I'm not an expert, but I think making Bazaar portable is doable, and I would attempt to do it myself, but it just seems like a huge amount of work due to all the dependencies and shit.

Thanks in advance
Respect
Ross

mfidler
Offline
Last seen: 12 years 4 months ago
Joined: 2010-01-14 12:13
I have made a BazaarPortable

I have made a Bazaar Portable.

The code is here:

https://github.com/mlf176f2/BazaarPortable

The Executables are here:

http://code.google.com/p/bazaar-portable/downloads/list

MaciejMucha
Offline
Last seen: 12 years 10 months ago
Joined: 2012-02-01 09:05
WARNING

Don't use this app. I have installed this on my computer, it have deleted everything from my desktop. During a crosscheck in an virtual machine, the same result.

This app is dangerous for your data!!!!

mfidler
Offline
Last seen: 12 years 4 months ago
Joined: 2010-01-14 12:13
What did you do?

What operating system were you using? I haven't had any problems. I just used the instructions here:

https://answers.launchpad.net/bzr/+question/91004

I use Windows XP. Could you tell me what exactly you did so I can reproduce and fix it.

This is troubling, to say the least.

MaciejMucha
Offline
Last seen: 12 years 10 months ago
Joined: 2012-02-01 09:05
I've installed it on Windows

I've installed it on Windows XP SP3.

I've downloaded the app and doubleclicked for installation. As destination fold I've chosen the desktop. During the installation everything was deleted in the destination folder. Finaly I have try it 5 times in several folders and got every time the same result. Before installation the destination folder was cleaned up.

Maciek

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Subdirectory?

Do you mean that you told it to install to the Desktop directory, rather than to a subdirectory named BazaarPortable?

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

MaciejMucha
Offline
Last seen: 12 years 10 months ago
Joined: 2012-02-01 09:05
Yes, this is right. I was

Yes, this is right.
I was wondering, that this apps didn't create an own Subdir and is installing directly to destination folder...other apps form portableapps.com do so Wink

mfidler
Offline
Last seen: 12 years 4 months ago
Joined: 2010-01-14 12:13
That's the expected behavior

That's the expected behavior of this installer. You need to create a sub directory to install the program. I did not expect this behavior. When I get a chance I will fix it. If anyone is comfortable fixing the code, it is in the link above. Send me the fix and I will recompile.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
PAF

You need to do it in PortableApps.com Format, which includes using the PortableApps.com Installer.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

mfidler
Offline
Last seen: 12 years 4 months ago
Joined: 2010-01-14 12:13
Technically it is in a

Technically it is in a Portable Apps format. Unfortunately, the portable app installer does not allow you to customize the installation sections enough. Therefore, I created an installer.

I have updated the installer, and it doesn't overwrite a directory. Instead it installs inside it. The installer is now more "safe." I have updated the download location.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
No it's not

I quote from the PortableApps.com Format:

All apps in PortableApps.com Format must use the most recent PortableApps.com Installer available at PortableApps.com/development.

Every release of an app in PortableApps.com Format must use the current PortableApps.com Installer. If a larger application is being compiled that has a longer development and testing time, and a new version of the PortableApps.com Installer is released during testing of a release the version of the installer the app is currently using may be kept provided that the new Installer version is less than 30 days old on the day the application using the older version is released.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

mfidler
Offline
Last seen: 12 years 4 months ago
Joined: 2010-01-14 12:13
Ok. Once the portable app

Ok. Once the portable app installer gets a little more customizable, it will be in portableapps.com format. Other than the installer, I believe it is already. I don't use the launcher either since there are two commands in Bazaar Portable.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 week 10 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
What are you trying to do

What are you trying to do that the installer doesn't support?

mfidler
Offline
Last seen: 12 years 4 months ago
Joined: 2010-01-14 12:13
Multiple optional sections,

Multiple optional sections, not just one. Groups of options that can be installed or removed. (NSIS SectionGroup). It could be easy to include by adding NSIS hooks/includes to the installer like the launcher.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
By design

We don't support that, by design. With a couple of exceptions, the optional component is only used for languages, anyway.

What are you trying to achieve?

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

mfidler
Offline
Last seen: 12 years 4 months ago
Joined: 2010-01-14 12:13
Allow the user to choose

Allow the user to choose which components to install. On space limited devices this is very important. In addition to choosing "additional languages" you can choose to only include the languages you are interested in. It mirrors the sections that the Bazaar Inno setup installer uses. The only plugin that is dropped is the Tortoise plugin since it requires administrator access to run properly.

I think that this application is an exception to your optimal component design.

I suppose each of the compoment could be an add-on, but I would rather maintain one installer instead of 5+. I don't think the Installer supports this out of the box either.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 49 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Unsupported

This will not be supported in the PortableApps.com Installer. Most users install via the PortableApps.com Platform and App Store. Forcing the user to choose options on install would require the installation or updating of multiple apps to pause and wait for user input. Generally, the optional section is strictly for whether the user wants Additional Languages. It shouldn't really be used for anything else. We're not trying to imitate the complexity of most Windows installers with multiple options and sub-options on install.

The whole app is only 65MB, which isn't much these days. The extra languages only total 4.7MB, so for one of our own apps, we wouldn't even give the option to not install the extra documentation (less than 10% savings and only a few MB). For the plugins, you have 15 different options and you need to hover over each one to determine what they actually do. The average user's eyes will glaze over. And it's only for 11MB.

Just do a single installer with everything included and no options. It's nice and easy. And in the age of 8GB drives being the norm (and costing under $10 for a cheap one), the sizes you are worried about saving the user are not worth the added complexity shown to the user just to install.

Sometimes, the impossible can become possible, if you're awesome!

mfidler
Offline
Last seen: 12 years 4 months ago
Joined: 2010-01-14 12:13
I understand your logic. It

I understand your logic. It seems reasonable to people with 8GB+ Drives. I only have a 4GB drive. Therefore, I still like the option to add/remove plugins since I have run into space constraints. In my opinion both can be supported by a single run switch for the "default" installation type.

Regardless, I have made a portableapps.com installer, and uploaded it as well.

Log in or register to post comments