" "

" ". . . . .

,
27.05.2015
1,9 M

. ,

, , , , .

. 9 " /".

, drag&drop (

- . ZIP

Redmine

Wiki

http://www.redmine.org/plugins/dmsf

Xapian

Xapian Omega indexing tool.

Xapian

Xapian Open Source Search Engine Library, GPL. C + +, , Perl, Python, PHP, Java, Tcl, C #, Ruby, Lua.

Xapian , . Probabilistic Information Retrieval model, (boolean).

, Omega: , Xapian. Xapian Omega, , .

:

Prerequisities

Redmine 1.1 x

Ruby Zip library - rubyzip gem

Fulltext search (optional)

If you want to use fulltext search abilities:

Xapian search engine

Xapian Omega indexing tool

Xapian ruby bindings - xapian or xapian-full gem

To index some files with Omega you may have to install some other packages like xpdf, antiword,.

From Omega documentation:

PDF (. pdf) if pdftotext is available (comes with xpdf)

PostScript (. ps,. eps,. ai) if ps2pdf (from ghostscript) and pdftotext (comes with xpdf) are available

OpenOffice/StarOffice documents (. sxc,. stc,. sxd,. std,. sxi,. sti,. sxm,. sxw,. sxg,. stw) if unzip is available

OpenDocument format documents (. odt,. ods,. odp,. odg,. odc,. odf,. odb,. odi,. odm,. ott,. ots,. otp,. otg,. otc,. otf,. oti,. oth) if unzip is available

MS Word documents (. doc,. dot) if antiword is available

MS Excel documents (. xls,. xlb,. xlt) if xls2csv is available (comes with catdoc)

MS Powerpoint documents (. ppt,. pps) if catppt is available (comes with catdoc)

MS Office 2007 documents (. docx,. dotx,. xlsx,. xlst,. pptx,. potx,. ppsx) if unzip is available

Wordperfect documents (. wpd) if wpd2text is available (comes with libwpd)

MS Works documents (. wps,. wpt) if wps2text is available (comes with libwps)

AbiWord documents (. abw)

Compressed AbiWord documents (. zabw) if gzip is available

Rich Text Format documents (. rtf) if unrtf is available

Perl POD documentation (. pl,. pm,. pod) if pod2text is available

TeX DVI files (. dvi) if catdvi is available

DjVu files (. djv,. djvu) if djvutxt is available

XPS files (. xps) if unzip is available

On Debian Squeeze use:

apt-get install libxapian-ruby1.8 xapian-omega libxapian-dev xpdf antiword unzip\ catdoc libwpd8c2a libwps-0.1-1 gzip unrtf catdvi djview djview3

On Ubuntu use:

sudo apt-get install libxapian-ruby1.8 xapian-omega libxapian-dev xpdf antiword unzip\ catdoc libwpd-0.9-9 libwps-0.2-2 gzip unrtf catdvi djview djview3

Setup/Upgrade

In case of upgrade BACKUP YOUR DATABASE first

Put redmine_dmsf plugin directory into vendor/plugins

Initialize/Update database:

rake db: migrate: plugins RAILS_ENV="production"

The access rights must be set for web server, example:

chown - R www-data: www-data /opt/redmine/vendor/plugins/redmine_dmsf

Restart web server

You should configure plugin via Redmine interface: Administration - > Plugins - > DMSF - > Configure

Assign DMSF permissions to appropriate roles

Fulltext search (optional)

If you want to use fulltext search features, you must setup file content indexing.

It is necessary to index DMSF files with omega before searching attemts to recieve some output:

omindex - s english - l 1 - U / - -db {path to index database from configuration} {path to storage from configuration}

This command must be run on regular basis (e. g. from cron)

Example of cron job (once per hour at 8th minute):

8 * * * * root /usr/bin/omindex - s english - l 1 - U / - -db /opt/redmine/files/dmsf_index /opt/redmine/files/dmsf

Use omindex - h for help.

Usage

DMSF act as project module so you must check DMSF in project settings.

Search options will now contain "Dmsf files" check, that allows you to search DMSF content.

There is possibility to link DMSF files from Wiki entries:

{{dmsf (17) }} link to file with id 17

{{dmsf (17,File) }} link to file with id 17 with link text "File"

{{dmsf (17,File,10) }} link to file with id 17 with link text "File" and link pointing to revision 10

DMSF file/revision id can be found in link for file/revision download.

There is possibility to link DMSF folders from Wiki entries:

{{dmsff (5) }} link to folder with id 5

{{dmsff (5,Folder) }} link to folder with id 5 with link text "Folder"

DMSF folder id can be found in link for folder opening.

You can also publish Wiki help description. In file <redmine_root>/public/help/wiki_syntax_detailed.html include after document link description:

<ul> <li> DMSF:

<ul> <li><strong>{{dmsf (17) }}</strong> (link to file with id 17) </li> <li><strong>{{dmsf (17,File) }}</strong> (link to file with id 17 with link text "File") </li> <li><strong>{{dmsf (17,File,10) }}</strong> (link to file with id 17 with link text "File" and link pointing to revision 10) </li> <li><strong>{{dmsff (5) }}</strong> (link to folder with id 5) </li> <li><strong>{{dmsff (5,Folder) }}</strong> (link to folder with id 5 with link text "Folder") </li> </ul> DMSF file/revision id can be found in link for file/revision download. <br /> DMSF folder id can be found in link for folder opening.

</li> </ul>

2.2 " "

Redmine .

, .

, .

Redmine .

rake cron'.

: "Repeat, , : "Do it every day, "Do it every week, "Do it every month, "Do it each 3 days.

, , . "Repeat , . "Task, .

desc 'Repeats issues whith repeat tracker'

namespace: repeater do

task: repeat do

repeat_tracker_id = Tracker. find (: all,: conditions => "name = 'Repeat'"). first. id

repeated_tracker_id = Tracker. find (: all,: conditions => "name = 'Task'"). first. id

sheduled_issues = Issue. find (: all,: conditions => "tracker_id = #{repeat_tracker_id}")

sheduled_issues. each do |si|

repeat_interval = si. description. scan (/Dosits (every|each) s (|d{1,3}) s? (day|week|month|year) s? /). flatten

n = 1

if repeat_interval [1]. to_i. to_s == repeat_interval [1]

n = repeat_interval. to_i

repeat_interval [2] += "s" if n > 1

end

interval_time = n. send (repeat_interval [2])

issue_next_run = si. start_date + interval_time

if Time. now () >= issue_next_run

copied_issue = Issue. new (si. attributes)

copied_issue. start_date = issue_next_run

copied_issue. due_date += interval_time if copied_issue. due_date

copied_issue. save!

sub_issues = Issue. find (: all,: conditions => "parent_id = #{si. id}")

sub_issues. each do |s|

ns = Issue. new (s. attributes)

ns. parent_issue_id = copied_issue. id

ns. start_date += interval_time if ns. start_date

ns. due_date += interval_time if ns. due_date

ns. save!

end

si. tracker_id = repeated_tracker_id

si. save!

puts "#{si. subject} repeated!"

end

end

end

end

, . cron'a:

0 7 * * * source ~/. bashrc && source ~/. rvm/environments/ruby-1.9.2 - / p290@redmine2 &> cron. log && cd /home/http/redmine && export / RAILS_ENV="production" && rake repeater: repeat

7 .

3.

3.1

- , . , , , . . , , , , . .

- , , , . , .

.

: , , .

- - . , , , :

, ;

;

;

, ;

;

, ;

- ;

.

3.2

Web- : , , (), .

, .

1 .

1.

-

/

()

1

0,17

1,53

45,9

3

0,36

9,72

291,6

1

0,7

6,3

189

:

1,23

526,5

1 / = 2,65

2,65*526,5= 1395,2 .

12000 .

2 Web-.

2

, .

12000

1395,2

102

600

1500

:

15597,2

R = 15597,2 - .

" "" .

:

,

- , .;

NA - , %.

3

3.

.

-

, .

.

, %

, .

1

25000

25000

20%

5000

1

19000

19000

20%

3800

11,62

4900

58800

3%

1764

:

10564

, 10564 .

, 8 , :

,

(Web-) :

= 10564*8/365=231,5 .

12000. , 8 :

,

- , .;

- Web-;

- ().

= 12000*8/22 = 4364 .

4 .

4

, /.

1395,2

102

600

1500

:

3597,2

= 3597,2

, :

= ,

- , .;

- Web-;

- ().

=3597,2*8/22=1308.

:

-

= + +

= 1308+4364+232 = 5904 .

, , .

? 6000 .

20% :

,

- ;

R - .

= 6000 + 6000*20/100 = 6004 .

" "" 6004 .

, , , . .

" ". , . .

.

, :

, .

.

.

.

, .

.

, .

1. Oc (Go Maeda) Redmine Linux/WindowsΉ. - GaVXe. - 226 . - ISBN 978-4-7980-2137-9

2. Gunther Popp Konfigurationsmanagement mit Subversion, Maven und Redmine: Grundlagen fr Softwarearchitekten und Entwickler. - 3. - Dpunkt. Verlag GmbH, 2009. - P.362. - ISBN 9783898645218

3. Redmine (.) http://www.redmine.org/

4. Redmine - http://habrahabr.ru/post/142584/

5. Redmine http://www.redmine.org/projects/redmine/wiki/RedmineInstall

6. DMSF - http://www.redmine.org/plugins/dmsf

7. CRM Plugin - http://www.redmine.org/plugins/contacts

8. Xapian - http://xapian.org/

Allbest.ru


  • . , . .

    [5,4 M], 29.06.2012

  • . - . . . .

    [1,5 M], 09.12.2013

  • . . . , .

    [3,2 M], 14.05.2012

  • . . . BPWin. "Doc_Univer".

    [56,1 K], 25.03.2014

  • -. . , . .

    [232,8 K], 17.07.2013

  • . , . . , , .

    [345,4 K], 06.05.2011

  • . . "". BPwin.

    [1,4 M], 15.01.2010

  • . . Directum: , , . . .

    [1,7 M], 17.03.2013

  • . . . . . .

    [384,1 K], 14.11.2016

  • . , . , , . .

    [1,0 M], 23.02.2011

, , ..
PPT, PPTX PDF- .
.