You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@bloodhound.apache.org by Matt Brown <ma...@gmail.com> on 2015/03/18 20:22:09 UTC
Quick runup: plugin installation?
Hello all,
I'm new to both trac and bloodhound.
I'm in process of attempting to host Bloodhound on IIS7.5 through
http://trac.edgewall.org/wiki/TracOnWindowsIisIsapi without luck (I just
stalked Seb on twitter, so maybe that will help). But I'll get to this
later.
Regardless, I'd like to go ahead with some plugin installations and wanted
a better understanding of how to install plugins.
I'm specifically interested in LDAP authentication straight away (I'm
hoping to leverage NTLM/kerberos for transparent logon from a user's
browser... is this possible?). In my search, I came across two add-ins
that would likely help me quickly administer some options:
https://trac-hacks.org/wiki/IniAdminPlugin
https://trac-hacks.org/wiki/TracIniAdminPanelPlugin
TracIniAdminPanelPlugin seems to be preferred. Given that plugin, how can
I go ahead with the installation? Should I pop it into the plugins dir
(,,/installer/bloodhound/environments/main/plugins)? Or should I use the
handy web UI? If so, which file should I place there? There doesn't
appear to be a .egg available.
Any assistance is appreciated.
Thanks,
Matt
Re: Quick runup: plugin installation?
Posted by Ryan J Ollos <rj...@apache.org>.
On Thu, Mar 19, 2015 at 6:08 AM, Matt Brown <ma...@gmail.com> wrote:
> Also for reference, _a_ list of plugins is available:
> http://trac-hacks.org/browser
>
There is also an index of plugins: http://trac-hacks.org/wiki/HackIndex
You may need to adjust the //Show hacks for release// filter to display
plugins for Trac 1.0.
Of all the plugins on trac-hacks, only one or two have themes for
Bloodhound. If a plugin doesn't add new pages this may not be an issue, but
plugins that add pages may not look very pleasing to the eye because they
lack the appropriate styling.
Re: Quick runup: plugin installation?
Posted by Matt Brown <ma...@gmail.com>.
Also for reference, _a_ list of plugins is available:
http://trac-hacks.org/browser
On Thu, Mar 19, 2015 at 8:34 AM, Matt Brown <ma...@gmail.com> wrote:
> Thanks Ryan!
>
> For future reference, the following procedure worked:
>
> 1) grabbed the source zip
> 2) decompressed
> 3) accessed the directory with the setup.py (that I wished to install)
> 4) ran the following:
>
> python setup.py bdist_egg
>
> 5) located the `.egg` file in the ./dist/ directory
> 6) copied the `.egg` into the plugins directory located
> ./installer/bloodhound/environments/main/plugins
> 7) stopped the server that's handling trac/bloodhound
> 8) the plugin is now listed in admin> General/plugins where I checked off
> the options I'd like to enable.
> 9) In my case (being the trac.ini Editor
> https://trac-hacks.org/wiki/TracIniAdminPanelPlugin ), there appeared a
> menu entry on the admin> General menu.
>
>
> Could I have also just used the Bloodhound web UI to install the .egg
> file? What else would this have done other than copying the .egg file into
> the plugins directory?
>
>
> Thanks!
>
> Matt
>
>
>
> On Wed, Mar 18, 2015 at 4:03 PM, Ryan J Ollos <rj...@apache.org> wrote:
>
>> On Wed, Mar 18, 2015 at 12:22 PM, Matt Brown <ma...@gmail.com>
>> wrote:
>>
>>> Hello all,
>>>
>>> I'm new to both trac and bloodhound.
>>>
>>> I'm in process of attempting to host Bloodhound on IIS7.5 through
>>> http://trac.edgewall.org/wiki/TracOnWindowsIisIsapi without luck (I
>>> just stalked Seb on twitter, so maybe that will help). But I'll get to
>>> this later.
>>>
>>>
>>> Regardless, I'd like to go ahead with some plugin installations and
>>> wanted a better understanding of how to install plugins.
>>>
>>> I'm specifically interested in LDAP authentication straight away (I'm
>>> hoping to leverage NTLM/kerberos for transparent logon from a user's
>>> browser... is this possible?). In my search, I came across two add-ins
>>> that would likely help me quickly administer some options:
>>> https://trac-hacks.org/wiki/IniAdminPlugin
>>> https://trac-hacks.org/wiki/TracIniAdminPanelPlugin
>>>
>>> TracIniAdminPanelPlugin seems to be preferred. Given that plugin, how
>>> can I go ahead with the installation? Should I pop it into the plugins dir
>>> (,,/installer/bloodhound/environments/main/plugins)? Or should I use the
>>> handy web UI? If so, which file should I place there? There doesn't
>>> appear to be a .egg available.
>>>
>>>
>>> Any assistance is appreciated.
>>>
>>>
>>> Thanks,
>>>
>>> Matt
>>>
>>
>>
>> Best to start by reading the TracPlugins page, and let us know if you
>> have any questions:
>> http://trac.edgewall.org/wiki/TracPlugins
>>
>
>
Re: Quick runup: plugin installation?
Posted by Ryan J Ollos <rj...@apache.org>.
On Thu, Mar 19, 2015 at 5:34 AM, Matt Brown <ma...@gmail.com> wrote:
> Thanks Ryan!
>
> For future reference, the following procedure worked:
>
> 1) grabbed the source zip
> 2) decompressed
> 3) accessed the directory with the setup.py (that I wished to install)
> 4) ran the following:
>
> python setup.py bdist_egg
>
> 5) located the `.egg` file in the ./dist/ directory
> 6) copied the `.egg` into the plugins directory located
> ./installer/bloodhound/environments/main/plugins
> 7) stopped the server that's handling trac/bloodhound
> 8) the plugin is now listed in admin> General/plugins where I checked off
> the options I'd like to enable.
> 9) In my case (being the trac.ini Editor
> https://trac-hacks.org/wiki/TracIniAdminPanelPlugin ), there appeared a
> menu entry on the admin> General menu.
>
>
> Could I have also just used the Bloodhound web UI to install the .egg
> file? What else would this have done other than copying the .egg file into
> the plugins directory?
>
You could upload the egg through the Plugin admin page, but it I don't
think that feature will help you much.
The easiest way to install a plugin is to use easy_install, or just run
"python setup.py install" from the plugin source directory. If you have
followed the written installation procedure for Bloodhound, then Bloodhound
will be installed in a virtualenv. The virtualenv isolates your
installation from Python's global site packages directory, which should
alleviate concerns about where the plugin gets installed. It will simply be
installed in the "lib/python2.7/site-packages" directory of your virtualenv.
http://trac.edgewall.org/wiki/TracPlugins#Forallprojects
The TracPlugin page should be improved; it doesn't do a very good job of
describing the ways a plugin can be installed. The InstallingTrac page does
a better job of describing how to install eggs:
http://trac.edgewall.org/wiki/TracInstall#InstallingTrac
Re: Quick runup: plugin installation?
Posted by Matt Brown <ma...@gmail.com>.
Thanks Ryan!
For future reference, the following procedure worked:
1) grabbed the source zip
2) decompressed
3) accessed the directory with the setup.py (that I wished to install)
4) ran the following:
python setup.py bdist_egg
5) located the `.egg` file in the ./dist/ directory
6) copied the `.egg` into the plugins directory located
./installer/bloodhound/environments/main/plugins
7) stopped the server that's handling trac/bloodhound
8) the plugin is now listed in admin> General/plugins where I checked off
the options I'd like to enable.
9) In my case (being the trac.ini Editor
https://trac-hacks.org/wiki/TracIniAdminPanelPlugin ), there appeared a
menu entry on the admin> General menu.
Could I have also just used the Bloodhound web UI to install the .egg
file? What else would this have done other than copying the .egg file into
the plugins directory?
Thanks!
Matt
On Wed, Mar 18, 2015 at 4:03 PM, Ryan J Ollos <rj...@apache.org> wrote:
> On Wed, Mar 18, 2015 at 12:22 PM, Matt Brown <ma...@gmail.com>
> wrote:
>
>> Hello all,
>>
>> I'm new to both trac and bloodhound.
>>
>> I'm in process of attempting to host Bloodhound on IIS7.5 through
>> http://trac.edgewall.org/wiki/TracOnWindowsIisIsapi without luck (I just
>> stalked Seb on twitter, so maybe that will help). But I'll get to this
>> later.
>>
>>
>> Regardless, I'd like to go ahead with some plugin installations and
>> wanted a better understanding of how to install plugins.
>>
>> I'm specifically interested in LDAP authentication straight away (I'm
>> hoping to leverage NTLM/kerberos for transparent logon from a user's
>> browser... is this possible?). In my search, I came across two add-ins
>> that would likely help me quickly administer some options:
>> https://trac-hacks.org/wiki/IniAdminPlugin
>> https://trac-hacks.org/wiki/TracIniAdminPanelPlugin
>>
>> TracIniAdminPanelPlugin seems to be preferred. Given that plugin, how
>> can I go ahead with the installation? Should I pop it into the plugins dir
>> (,,/installer/bloodhound/environments/main/plugins)? Or should I use the
>> handy web UI? If so, which file should I place there? There doesn't
>> appear to be a .egg available.
>>
>>
>> Any assistance is appreciated.
>>
>>
>> Thanks,
>>
>> Matt
>>
>
>
> Best to start by reading the TracPlugins page, and let us know if you have
> any questions:
> http://trac.edgewall.org/wiki/TracPlugins
>
Re: Quick runup: plugin installation?
Posted by Ryan J Ollos <rj...@apache.org>.
On Wed, Mar 18, 2015 at 12:22 PM, Matt Brown <ma...@gmail.com> wrote:
> Hello all,
>
> I'm new to both trac and bloodhound.
>
> I'm in process of attempting to host Bloodhound on IIS7.5 through
> http://trac.edgewall.org/wiki/TracOnWindowsIisIsapi without luck (I just
> stalked Seb on twitter, so maybe that will help). But I'll get to this
> later.
>
>
> Regardless, I'd like to go ahead with some plugin installations and wanted
> a better understanding of how to install plugins.
>
> I'm specifically interested in LDAP authentication straight away (I'm
> hoping to leverage NTLM/kerberos for transparent logon from a user's
> browser... is this possible?). In my search, I came across two add-ins
> that would likely help me quickly administer some options:
> https://trac-hacks.org/wiki/IniAdminPlugin
> https://trac-hacks.org/wiki/TracIniAdminPanelPlugin
>
> TracIniAdminPanelPlugin seems to be preferred. Given that plugin, how can
> I go ahead with the installation? Should I pop it into the plugins dir
> (,,/installer/bloodhound/environments/main/plugins)? Or should I use the
> handy web UI? If so, which file should I place there? There doesn't
> appear to be a .egg available.
>
>
> Any assistance is appreciated.
>
>
> Thanks,
>
> Matt
>
Best to start by reading the TracPlugins page, and let us know if you have
any questions:
http://trac.edgewall.org/wiki/TracPlugins