Good Mercurial repository viewer for Mac [closed] - macos

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Is there a good, native Mac tool to view Mercurial repositories, similar to gitnub for Git?

Try the newly released MacHg. It uses the native GUI toolkit for Mac and comes with its own bundled version of Mercurial.
There are many more screenshots available.

I know it's pretty old question, however just for sake of completeness, I think it is still worth to mention here the newest kid on the block called Murky.

I just released a new tool, SourceTree which is native Mac OS X and lets you work with both Mercurial and Git repositories in one application.

A few months back, Dustin Sallings wrote a fork of GitNub that uses Mercurial. It's Leopard-only, but lovely.
On Tiger, the "view" exension mentioned in the other comments works okay, as does hgview.

hg: unknown command 'view'
(Maybe I need to install something - but it's not native, nonetheless).
There is one "native" application out there, but it's not especially user-friendly. In fact, I'd go as far as saying that it's harder to use than the command line.
There was some talk a year or so ago about a version of SCPlugin, which puts badges on icons in the Finder that are under SVN control, and gives you a contextual menu (very much like TortoiseSVN on windows), but that seems to have collapsed.
I have been planning to create a mercurial "clone" of Versions (I asked them if they would consider doing a version of it for DVCS, and they said no).

You can use the one "built in", hg view. You'll need TCL installed though.
From the documentation:
The hgk Tcl script is a direct port of the gitk tool used with git. The hgk.py extension allows hgk to interact with mercurial in a git-like manner.
edit # Matthew: yeah, that's why I linked to the documentation that explains it. You need to enable it in your .hgrc (like the fetch command), and TCL --as mentioned.

Related

Easy Git Starter for Windows? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I really need to understand how to use git on Windows, but all the guides are too complex. For example, I understand we need to use a command line for git. But when I open a command prompt in Windows using "cmd.exe", where do I go? Do I navigate to the folder where git is installed? What is "git bash"?
Why do all the examples on the Internet have this $ sign in front? How do I add an existing folder to git version control? What does "checkout" mean? I keep hearing about a tool called "powershell". What does it do and how is it different from a DOS prompt?
To use the "git" command I'll probably have to add it to my environment variables so the computer can find it and I get "'git' is not recognized as an internal or external command,
operable program or batch file."
I've never used a version control system for my programming before - I've just saved folders with numbers in front of them so far and I need to use git to publish a project folder I have on Amazon AWS Beanstalk.
I basically just want to add a folder to git and save changes regularly so I have a back up of all the stuff I've done before.
Edit: Is git a single program, or are there many "gits". The first result for "git" in google takes me here: http://git-scm.com/ and yet lots of people talk about something called "msysgit". Is this a different git application?
Edit: I'm looking more at a command line for Windows tutorial. It's here that I'm having the most trouble.
If you want to understand some of the concepts of Git (and only then you can use it effectively), you should read the Pro Git book (available online and for download, or even to buy on paper). This is a really good book, teaching you the very basics you need with good examples, and having sections on more advanced stuff if you want to know more.
The book assumes that you use a Unix-/Linux-like shell (like Bash). Msysgit (a.k.a. "Git for Windows") brings Bash with it, pre-configured for easy use of Git. (And no, there are not many gits, Msysgit is just a bundle that brings some other dependencies of Git which are not usually installed on Windows.)
A shell (also named console or terminal) is in this case a command-line interpreter, just like cmd.exe is on Windows; on the *nix-like systems, there are many more alternatives than on Windows (where one alternative is Powershell), but that's just some side info here.
The $ sign in the examples you see is a typical prompt delimiter on *nix-like shells; on Windows (cmd.exe), you usually have ">" as the delimiter. It has no special meaning and just serves as a delimiter.
What "checkout" means and how you add files and folders to version control, is explained very well in the mentioned book. You also do not need to know anything about version control in general, the book is really written for absolute beginners (in fact, to start using Git it might be an advantage not to know other VCSs).
If you need any help with the stuff that's in the book (or in other tutorials mentioned there, here, or on Google), feel free to drop by the #git IRC channel (more info on the git-scm.com community page, where people can help you immediately and with small questions.
There are a bunch of tutorials that worked for me:
http://www.youtube.com/results?search_query=git+windows&oq=git+windows&gs_l=youtube.3...250.879.0.972.7.6.0.0.0.0.0.0..0.0...0.0...1ac.1.
They show you how to install the various components and then how to use Git with Windows.
Github* has GUI application for Windows (as well as for Mac) which is pretty friendly to novices. You won't get a lot of insight, but this might help you to get up and running.
*git-repository hosting, e.g. place where you can store your repos and sync with them from time to time. It's free and awesome.

Mac OSX HTML5&CSS3 Text Editor [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am searching an HTML5 & CSS3 text editor for Mac OS X. What would you suggest?
Please give a short description as well as some information about pricing (free? commercial? trial?).
By the way, I am aware that there is the ability to take WineBottler/Wine to make certain Windows applications work in OS X. If you definitely know that a certain Windows HTML5 & CSS3 editor works in Mac OS X and it is worth it, please mention it.
Thank you!
Coda, BBEdit, and TextMate are--in my opinion--the most popular text editors for web development. TextMate has a 30-day free trial and is $57 USD. Coda is $99 USD and does not have a free trial (to my knowledge). And BBEdit is $99 USD and has a free trial (don't know how long it is).
For a free text editor, you can use TextWrangler from the same people who made BBEdit.
My personal preference is Vim / MacVim; but learning the Vim language is probably overkill if you're just doing just HTML / CSS. I would recommend trying out all of these and seeing what you like the most.
EDIT: A final note, everything I listed here is highly extensible and if there is a feature you like in one, it has most likely been ported to one or more of the other editors as well. Keep this in mind, because you shouldn't immediately dismiss any particular editor for what it offers as a default install.
If you're really particular about your editor (which you should be, as it's the single most important tool in your arsenal) then you should also look at available plugins for each code editor to get a true picture of what they can and cannot do.
I realise it might be overkill, but I really like using NetBeans for Javascript / HTML5 stuff. The JS completion is really helpful and it handles things like Canvas 2D API methods.
One drawback is that it doesn't seem to support CSS3.
I also recommend Textmate, if you willing to spend money. Its very comfortable to code html/css/js.
Personally I code in jEdit or Eclipse. They're crossplatform compatible and opensource.
edit: both provide tons of plugins :)
I like Aptana Studio. If you take the time to configure it's preferences it's a powerful editor.

Alternatives to Applescript? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
When it comes to scripting the Mac, are there alternatives to Applescript? Its API seems awesome, but the language itself, from what I've read so far, seems aimed more at non-programmers.
Insights into this would be greatly helpful.
(At the moment, I'm thinking of writing a tiling window manager for the Mac.
Yes, I know some exist, but this will be open source.
Yes, I know of Xmonad, but it only does X11 windows.)
Thanks!
When it comes to scripting the Mac, are there alternatives to Applescript?
Depends what you want to do. If you want to send Apple events to other applications, yes; for running scripts from OSA-aware applications (Mail rules, folder actions, etc.), not really.
The best technical alternative is appscript (my baby), which is available for Python, Ruby and Objective-C on 10.4+. (There's also a MacRuby version, but I've yet to do a public release of that.) Feature-wise appscript's slightly better than AppleScript and its application compatibility is very nearly as good. Third-party project, so you'll need to install it yourself (but that's easy enough as long as you've got Xcode) and MIT licensed so you can redistribute it as needed (e.g. included in your application bundle). Fairly decent tool and documentation support, including an online book by Matt Neuburg, with mailing list support for the Python and Ruby versions and direct email support for the others.
The 'official' alternative is Apple's Scripting Bridge. The API looks very Cocoa-like, but that's really just a lot of smoke and mirrors which ultimately makes it less capable than AppleScript and significantly more prone to application compatibility problems (and tricky to troubleshoot when it does go wrong). Tool, documentation and community support is not so great either (appscript's is better; AppleScript's is better still). SB's main advantage is that it's included in 10.5+ so requires no additional installation to use. I wouldn't recommend it for heavy-duty automation work due to its technical shortcomings, but for modest automation tasks involving obliging apps it may suffice.
Other bridges do exist (e.g. Perl's Mac::Glue, RubyOSA), but they are not as capable, popular and/or actively supported.
All that said, if you want to do any serious application scripting, you will still have to learn AppleScript as that's where you'll find the vast bulk of literature, sample scripts and community expertise. All of which you will need, since the great majority of scriptable applications are notoriously under-documented.

PC equivalent of Coda? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Can any one recommend a good all-in-one web development tool for Windows.
Something on par with Coda, which is only available for Mac OS X?
I have not used Coda by myself, but believe that whatever it has, you can find in Sublime Text 2 as well, check it out. For remote files access, you can use an utility like ExpanDrive that mounts remote drive as local disk.
I love Komodo Edit. I recommend that you try it.
I Tried NotePad++
And it is in fact very cool, However,
it crashes from time to time and it can delete your work! :O,
sadly i haven't found anything like CODA for the PC
so i'm staying with the mac
i think you can use notepad++ with ftp_synchronize plug-in so you can remotely edit files on server ;)
As far as I can tell, nothing gets close to Coda on mac. It's pretty sad.
I love Coda and use it professionally every day. However, I'm going to check out Aptana Studio and Komodo IDE on the PC---they both look like they could be very good.
Note that Coda is not free (download, $99), so the answer presumably shouldn't be limited to free PC software in order to compare apples to apples (pun intended).
Cheers!
I used PHPed myself, the best for me
I've looked and NetBeans 7.x is about as close as I've found. Coda is much more than an editor...it does Subversion, has an excellent built-in CSS editor, and allows really elegant local development and publish-to-host workflow. Even NetBeans is only local or remote, but can't deal with both in one project. However, NetBeans' MySQL integration is very handy.
Isn't Coda just a text editor? For Windows there is notepad++.
I use KomodoEdit and it does not even compare to Coda. Coding on a Mac is a lot different as you can have a built in terminal. A windows equivalent would have to have a plugin for putty or something similar.

How to best implement software updates on windows? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I want to implement an "automatic update" system for a windows application.
Right now I'm semi-manually creating an "appcast" which my program checks, and notifies the user that a new version is available. (I'm using
NSIS for my installers).
Is there software that I can use that will handle the "automatic" part of the updates, perhaps similar to Sparkle on the mac? Any issues/pitfalls that I should be aware of?
There's now a Windows port of Sparkle, see http://winsparkle.org.
There is no solution quite as smooth as Sparkle (that I know of).
If you need an easy means of deployment and updating applications, ClickOnce is an option. Unfortunately, it's inflexible (e.g., no per-machine installation instead of per-user), opaque (you have very little influence and clarity and control over how its deployment actually works) and non-standard (the paths it stores the installed app in are unlike anything else on Windows).
Much closer to what you're asking would be ClickThrough, a side project of WiX, but I'm not sure it's still in development (if it is, they should be clearer about that…) — and it would use MSI in any case, not NSIS.
You're likely best off rolling something on your own. I'd love to see a Sparkle-like project for Windows, but nobody seems to have given it a shot thus far.
Google Chrome auto-update is based on Omaha:
http://code.google.com/p/omaha/
Their overview has a great section on why it was needed:
The browser typically prompted the user with a long series of techy, confusing and scary dialogs all trying to convince the user not to install. Then the user was prompted with a wizard filled with choices that they did not need to or know how to decide amongst. These factors combined to form a bad user experience and large drop-off during the app installation process
It's a good idea to use a third-party solution, cause autoupdates can be a pain, especially with Windows Vista/7 (UAC). For what it's worth, the product my company uses is AutoUpdate+ and it seems to work fairly well.
For .NET, a while back Microsoft Patterns + Practices published the Application Updater Block. This was (to my mind) rather overblown and over-engineered, but did the job quite well.
In essence it used a "stub loader" to check a manifest and a Web service to see if a later version of the program than the one installed was available, then used the BITS background downloader technology to download a new version if one was available on the server.
Once the new version was downloaded and installed (with .NET this is as simple as an xcopy to the relevant folder), the application would update the manifest. The next time the program was loaded the new version would be launched.
While the Patterns + Practices code is .NET specific, there's nothing there that couldn't be copied for a non-.NET application, especially if you have the ability to silently run the install process in the background.
If your application is written in .Net, you could try ClickOnce. However, it's difficult to perform administrative or custom actions during install using this approach.
wyUpdate looks really nice. See video here:
http://wyday.com/wybuild/help/automatic-updates/
For .NET applications you might want to have a look at NetSparkle, a Sparkle variant for .NET programs. It is pretty new (from 2011) and developed actively.
Just came here from an answer to my own question on the same subject - I mention one other updating solution in my question. It uses a stub loader, and an xml file to point to the latest executable.

Resources