#57 closed Task (Done)

Build out and evaluate redmine site

Reported by: D Delmar Davis Owned by: D Delmar Davis
Priority: Important Milestone: Make Shit Happen / Own Your Shit.
Component: Development Keywords:
Cc: Joe Dumoulin

Description

Trac provides ticketing, repo integration, and a spot to document processes as you work.
This can can easily be exported to google docs or wordpress as html or as pdfs for reference.

However... It's wiki takes some getting use to and its kind of a pita to set up.

As alternatives go Redmine is the only one I have found that has comparable capabilities and uses Markdown as its language.

I was thinking this might help with colaboration. It may also integrate better with bitbucket and github.

Change History (10)

comment:1 Changed 14 months ago by D Delmar Davis

Status: assignedaccepted

comment:2 Changed 14 months ago by D Delmar Davis

Doing this in the sandbox..

comment:3 Changed 14 months ago by D Delmar Davis

Followed the bouncing prompts at.

And set the markup to markdown.

Now gotta figure out how to make it usefull.

comment:4 Changed 14 months ago by D Delmar Davis

Milestone: Make Shit Happen / Own Your Shit.Rathole
Resolution: Rathole
Status: acceptedclosed
  1. Its uglier than trac (as if that were possible)
  2. Its super busy (lots of features we don't need).
  3. It crashes with the first feature tested.
    Started GET "/projects/testtoasterone/repository/emms2" for 75.164.34.61 at 2020-09-29 21:55:21 -0700
    Processing by RepositoriesController#show as HTML
      Parameters: {"id"=>"testtoasterone", "repository_id"=>"emms2"}
      Current user: admin (id=1)
    Completed 500 Internal Server Error in 18ms (ActiveRecord: 4.6ms)
      
    FrozenError (can't modify frozen String: ""):
      
    lib/redmine/scm/adapters/abstract_adapter.rb:279:in `force_encoding'
    lib/redmine/scm/adapters/abstract_adapter.rb:279:in `scm_iconv'
    lib/redmine/scm/adapters/git_adapter.rb:136:in `entries'
    app/models/repository/git.rb:98:in `scm_entries'
    app/models/repository.rb:204:in `entries'
    app/controllers/repositories_controller.rb:86:in `show'
    lib/redmine/sudo_mode.rb:63:in `sudo_mode'
    

Declaring this a rathole

May revisit this in a few months or run up the same on an 18.04 box as the forums are pointing towards issues supporting the current ruby.

comment:5 Changed 14 months ago by D Delmar Davis

Should make this a page for reference

apt-get install postgresql
su - postgres
apt-get install redmine-pgsql
ps -ef
apt-get install redmine
apt-get install apache2 libapache2-mod-passenger
cp /usr/share/doc/redmine/examples/apache2-passenger-host.conf /etc/apache2/sites-available/redmine.conf
nano /etc/apache2/sites-available/redmine.conf
a2enmod passenger
a2ensite redmine.conf
a2dissite 000-default
service apache2 reload
update.sh
apt-cache search git
apt-get install git
sudo -su redmine
cd /var/lib/redmine/repos/
vipw
ls -lsa /var/lib/redmine/
ls -lsa /var/lib/redmine/default/
ls -lsa /var/lib/redmine/default/files/
ls -lsa /var/lib/redmine/default/public/
mkdir /var/lib/redmine/repos/
chown -R /var/lib/redmine/repos/
chown -R www-data:www-data /var/lib/redmine/repos/
cd /var/lib/redmine/repos/
ls
git clone https://github.com/feurig/ems2.git
ls -lsa
chown -R www-data:www-data /var/lib/redmine/repos/
nano /etc/redmine/default/database.yml 
find / -name configuration.yml -print
find / -name "configuration.yml.*" -print
cp /usr/share/redmine/config/configuration.yml.example /etc/redmine/default/configuration.yml
nano /etc/redmine/default/configuration.yml
service redmine restart
reboot
tail /var/log/redmine/default/production.log 
tail -200 /var/log/redmine/default/production.log 
less /var/log/redmine/default/production.log 
ls -ls /var/lib/redmine/repos/ems2/.git
less /var/log/redmine/default/production.log 
less /var/log/redmine/default/production.log.1 
shutdown -h now

comment:6 Changed 14 months ago by D Delmar Davis

Milestone: RatholeMake Shit Happen / Own Your Shit.
Resolution: Rathole
Status: closedreopened

Actually I ran this up on 18.04 and the git repo part isn't so bad. Its still ugly as sin but for code it probably wouldn't be too bad. I may leave it up on the sandbox and play with it.

Joe,
Its up at sandbox.suspectdevices.com
If you want I can set up an account for you.
....
Will write up the install over the weekend.
Bash History dump to follow.

comment:7 Changed 14 months ago by D Delmar Davis

comment:8 Changed 14 months ago by D Delmar Davis

Tried updating the git.suspectdevices.com trac site to focal. Between the mismatched repos and the upgrade between postgres10 and postgres12 it looks like updating the trac sites will require manual upgrades or rebuilding.

So.…

Might as well set up the github mirroring and update the look and feel of the sight on sandbox and then down the old git server.

setup github hook

create suspectdevices theme ==== (blue to red dark blue to black)

comment:9 Changed 13 months ago by D Delmar Davis

This is close.
Setup is documented on the github repository for the configuration files used on the server
Markdown source from the repo is hand copied into the home page of the redmine server

I am going to set up an account for joe to look at.
.

comment:10 Changed 13 months ago by D Delmar Davis

Resolution: Done
Status: reopenedclosed

Joe,
If you want you can check this out.
login: joe
password: Cambi0y0!

Note: See TracTickets for help on using tickets.