NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
anonynas
Mar 06, 2011Aspirant
Mercurial (hg) SCM on ReadyNAS?
Hi All,
I was wondering if anyone has successfully installed Mercurial on their ReadyNAS. I'm struggling because I can't seem to get a complete Python install.
I downloaded and installed Python 2.7. I also downloaded Mercurial 1.7.5, but when I try to install it, it complains that I don't have bz2. I installed libbz2 using apt, and I'm not sure what else I need to do to get this working. Has anyone else had success in installing Mercurial?
If anyone has tips, I'd appreciate it.
Thanks!
I was wondering if anyone has successfully installed Mercurial on their ReadyNAS. I'm struggling because I can't seem to get a complete Python install.
I downloaded and installed Python 2.7. I also downloaded Mercurial 1.7.5, but when I try to install it, it complains that I don't have bz2. I installed libbz2 using apt, and I'm not sure what else I need to do to get this working. Has anyone else had success in installing Mercurial?
If anyone has tips, I'd appreciate it.
Thanks!
25 Replies
Replies have been turned off for this discussion
- ddumontAspirantDuo running latest firmware.
Trying to get RhodeCode installed. I have for the most part, it seems really nice. Trying to get force SSL to work. I'd love for someone to make that into a module like websvn - ddumontAspirantTrying to configure RhodeCode.
Got it installed and set up but I need the help of a readynas guru.
I'm stuck here:
http://packages.python.org/RhodeCode/se ... st-example
I think I've found the frontview http conf file, which imports conf files stored in an addons folder. So I know I can add one for rhodecode there.
I'm not sure what to put in it though, does frontview have the proxy support?
Can you recommend how my config file should look?
Also, I've installed rhodecode in a python virtual environment. Do you have any suggestions on how I can auto launch this web service on startup?
If anyone has interests in getting mercurial and rhodecode set up as plugins for the readynas, I'd be more than happy to share how I've managed to get this far. - WhoCares_MentorAdding virtual hosts to the Apache config isn't trivial because it's not enabled in the default config on the ReadyNAS (which I believe is a real bug). So you may try with the subdirectory example for that's easier to implement.
-Stefan - ddumontAspirantCan you help me out about what I might need in my config? or what it might look like?
Exactly like the example? Does the frontview thing have ProxyPass?
Are you at all interested in creating addons for these things? :) - WhoCares_MentorLOL. As you may have noticed there may be one or two add-ons that I created around ;) Still, even if you get it to work, that won't help much in building an add-on. If you want to build an add-on, I'd suggest you have a look at the Add-on SDK. This will allow you to build add-ons more easily and also provide a rough framework for the Apache configs needed.
-Stefan - ddumontAspirantYes I had noticed. :-) I was hoping you might be intereted in adding these as addons to your collection :-)
I have so many projects on my plate right now, I don't really have the resources to invest in learning all about readynas addon creation. I was hoping a readynas guru like yourself would be willing to bundle this all up in a nice package, or at the very least, help me get set up so I can get back to my projects. - WhoCares_Mentor
ddumont wrote: Yes I had noticed. :-) I was hoping you might be intereted in adding these as addons to your collection :-)
If it depends on Python 2.7 I can't, at least not at the moment.ddumont wrote: I have so many projects on my plate right now,
Same problem here, unfortunately.ddumont wrote: I was hoping a readynas guru like yourself would be willing to bundle this all up in a nice package, or at the very least, help me get set up so I can get back to my projects.
I do what I can but there are limits. If you want to, you can bundle up what you have in a zip file and send it my way, so I can have a look at it. That'd be much easier for me than to try to navigate you through the process using forum posts ;)
-Stefan - ddumontAspirantI'm not attempting to make this an addon, so I'm not sure what you want me to zip up.
I can certainly zip my installed rhodecode server in the python virtual env if you want to see that.
One thing I'm running into with the apache server is it seems to be barfing on the ProxyPass directive/module - WhoCares_MentorYeah, that's a problem with Apache on the ReadyNAS: It doesn't contain all the modules that normally come with Apache. So for some applications you're out of luck - until I've got time to finish yet another add-on that's already in the making;)
-Stefan - ddumontAspirantIf you could maybe help me with a more simple (hopefully) problem with apache conf files:
http://mercurial.selenic.com/wiki/Publi ... positories
Sections 6 and 7... Following this I have /etc/frontview/apache/DDUMONT_HGWEB.conf:
ScriptAlias /hg /c/home/ddumont/.hg/hgweb.cgi
<Location /hg>
AuthType Basic
AuthName "Hg repositories"
Require user ddumont
</Location>
This doesn't seem to work :(
[Thu Apr 07 21:22:44 2011] [crit] [client 10.0.0.4] (13)Permission denied: /c/home/ddumont/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Not sure why it's checking the .htaccess file. None of the other configs that Require a user seem to have to do that. How can I get apache to do regular system auth here?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!