Using SourceTree or Mercurial in LAN - mercurial

Is it possible to make the version control repository and use it within a local network using SourceTree or Mercurial. Didn't find any relevant info for this. Is it at all possible to use only lan for this?

Yes, using it in a local network instead of the Internet is possible as well.
You need some kind of server - there are plenty of possibilities, see Publishing Mercurial Repositories for an exhaustive list.
From personal experience, I know only two of the non-internet options listed there:
network share ("shared disk" in the list) used at work for about three years without problems
hgweb, Mercurial's default web interface (looks like this)
I wrote some more about my "Mercurial hosting experience" here.

Related

uding tfvc with readthedocs

I'm considering setting up my own readthedocs instance. I see that they have support for Git, Mercurial, Subversion, and CVS .I do however have a couple of legacy projects which are considerable effort to move over to git sitting in TFS using TFVS.
Would it still be possible to pull in these projects using the webhook method they're talking about?
What would be the code based approach to get this to work?
Eventually I'd like to get all these opened up on Github, but thats something I still need to sell.
No, it's not support to uding tfvc with readthedocs.
It's viable to use web hooks in VSTS directly. Document from MSDN:Web Hooks
However, if you want to use web hooks with TFS. You may need to use TFS plugin such as Cloudpipes. More details you can refer this link: Integrate Team Foundation Server with Web hooks

Mercurial with WebUI

I searched a little and did not find anything interesting. I'm looking for a guide on how to install Mercurial server with a nice WebUI.
CollabNet Subversion under Windows to the Edge and I'm happy, but a lot of people write and say that Mercurial is better, so I want to evaluate this myself.
I am looking for a tutorial, or for any WebUI for Mercurial.
I'm not entirely sure how feature-rich you want the Web UI to be, but a good place to start would be with hgweb.
The simplest way to get something up and running is with the built-in web server from the 'hg serve' command:
https://www.mercurial-scm.org/wiki/hgserve
If you want something a little more involved for multiple repositories being served through a web server like httpd, here are some initial instructions to take a look at:
https://www.mercurial-scm.org/wiki/HgWebDirStepByStep
If you need something more like a local Github, maybe take a look at RhodeCode (disclaimer, never used personally)
I just saw a web app for Mercurial repository administration linked on another question : phpHgAdmin.
Apparently, you can manage your repositories and create new users, but no statistics.
I never tested it, but you maybe want to give it a shot.
Phabricator's Diffusion supports Mercurial: https://www.phacility.com/phabricator/diffusion/

What's a good free bug tracking system that integrates with Mercurial and/or bitbucket?

I am a lone developer working on many projects simultaneously, and keeping all these bugs in my head has become burdonsome. I've been using some "task" websites to manage my bugs for a while now, and it's been relatively sufficient. However, my current project just exploded in scope and now I need something way more robust. I currently use Mercurial and BitBucket for my version control and repo respectively, so I was hoping someone knew of something that integrated with those. At the very least, I'm looking for a free bug tracking system.
PS: aware of this question but I couldn't find anything with HG integration.
Thanks!
What about bitbucket itself? ;-) It uses some issue manager integrated.
http://confluence.atlassian.com/display/BITBUCKET/Using+your+Bitbucket+Issue+Tracker
If you are a lone developer you can just sign up for FogBugz startup edition for free:
http://www.fogcreek.com/FogBugz/StudentAndStartup.html
I generally set up Bugzilla which is free, and you can do Mercurial integration via an extension. I believe that extension should install with Mercurial by default, but I don't actively use it so I can't say for sure. I don't know of a way to integrate BitBucket and Bugzilla though.
Try Dilif - https://dilif.com/
It has Github integration and says bitbucket integration is coming. Please note that it is a cloud service so you can't install on your own server. But it provides way to integrate with any website. It also provides filters and sprint dashboards too.

Is there an API or tool that can automate software updating?

Is there any API or tool that can automate software updating? It should take care of checking for updates from a URL for a provided list of files and downloading and replacing the ones that need updating. It would also be nice if it contained an authentication module so that only authorized parties could access the updates. It should be language-agnostic - takes a list of files without extra knowledge except their versions and replaces them with newly downloaded copies if on the site there are newer versions.
I'm specifically interested in something for the Windows platform, that would run on Win Xp to Win 7.
This makes me think about apt-get ...
take a look here, as well: Is there an auto-update framework for C++/Win32/MFC (like Sparkle)?
I did see some articles a while back about embedding subversion into your application to manage version control.
Edit:
http://svnbook.red-bean.com/en/1.5/svn.developer.html
Subversion has a modular design: it's implemented as a collection of libraries written in C. Each library has a well-defined purpose and application programming interface (API), and that interface is available not only for Subversion itself to use, but for any software that wishes to embed or otherwise programmatically control Subversion. Additionally, Subversion's API is available not only to other C programs, but also to programs written in higher-level languages such as Python, Perl, Java, and Ruby."
Just saw UpdateNode launching a pretty cool update and messaging system. It seems to be cross platform and free for Open Source.
UPDATE, did some further analysis on that, posted at: https://stackoverflow.com/a/22528011/3257300
For windows, I'd use Google Update, also known as omaha.
Since you didn't tag this question as windows, I'd also mention a UpdateEngine for Mac.
And (best of all) apt, which is available for free on all Debian-based Linux and BSD distributions, like Ubuntu
There is open source project WIPT inspired by APT of Debian Linux.
Head over to Launchpad and use a PPA: it is a Debian/Ubuntu repository management platform. Of course this is not really platform independent but it is language wise :-)
You should take a look at ClickThrough, I don't know much about it but it sounds similar to what you're looking for. As for authorization, I would imagine this to be handled by your webserver based on the URL.
InstallShield has an offering. Never used it but researched it a few years back but we decided on a roll your own solution.
InstallShield Update Manager
InstallShield Update Service
You didn't state what platform you needed this for. The easiest way I can think of doing this is with subversion using rsync.
The concept is to write a post-commit hook for subversion. This script would update a "working folder" on the repository machine and then use rsync to update the differences to another machine.
Data protection and authentication would be set up using rsync over ssh.
If this is for windows, you could try doing the same with cygwin installs on the two machines.
Good luck.
If you use .NET, I'm a happy customer of AppLife Update
CRONw is a scheduled execution service for Windows. (Sorry, I can't link it, I'm apparently limited to 1 as a new user. It's hosted on Sourceforge.)
Powershell is a Windows scripting language (Microsoft-official) that allows you to do most system administration operations you could conceivably want to do. It is very easy to pick up even if you haven't worked with it before.
I would say your best bet is to write a simple update script in Powershell and, optionally, set it up as a crontask so you don't have to manually execute it.
IIRC, Powershell is an optional install on XP, and CRONw requires you be running a 32-bit system. You didn't say, so I'd guess you're doing 32-bit, but the alternative bears mentioning.
And in all this, I'm assuming that the URLs you're describing are designed for this purpose - if they're not and you don't own them, it will rapidly become more suffering than you're willing to bear. (Making a computer navigate a human-readable website usually does.)

Software similar to Bitbucket that I can self host

Is there a system similar to Bitbucket which I could self host? I've tried to look around in the net to see if there was something but I can't seem to find any. We're using Redmine right now but Redmine doesn't support multiple repositories per project.
Features of Bitbucket that I would like to be able to do would include the ability to fork a repository and to follow someone, make a pull request or something like that.
What are the good Mercurial tools out there?
Thanks a lot
I found something that's nice: you can use rhodecode. It was really nice.
Apparently the Bitbucket people do offer installations for customers, or at least that's what they said on this thread on the bitbucket-users mailing list
They are Git based rather than Mercurial, but the software for GitLab and Gitorious are open source. GitLab may now be a bit easier to setup and use than Gitorious.
Also found a really interesting project called scm manager
There was an early public hosting project called freehg for which the source was available. The site appears down, but the author probably has the source somewhere still.
http://matthewmarshall.org/blog/2008/03/freehg.org/
BitBucket is very nice, but it is not available as download since Atlassian aquired the team.
I'm not sure if you consider commercial products, but Kiln and CodeBeamer can be options to explore:
Issue tracking, wiki, etc. are out of Kiln's scope, so you will need to keep your Redmine as well, what may or may not be an advantage.
The features you mentioned (multiple repo per project, forking, pull requests) are supported by CodeBeamer, plus it is able to replace your Redmine instance completely.
(Disclaimer: Kiln is a FogCreek product, while CodeBeamer is a commercial software developed by our company)