第2回品川Redmine勉強会の資料.key

Similar documents
ÆþÌçGTK+

syspro-0405.ppt

AuthorManual_JSTP.ppt

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2

Ubuntu Linux PC Ubuntu Linux (14.04 LTS, Trusty Tahr) 32bit CD 64bit CD 2. 32bit CPU 64bit 32bit PC CPU 32bit 64bit Windows 64bit 64bit. 32bit Core 64

3 Ubuntu Linux Ubuntu Linux Debian Linux DistroWatch.com 1 Debian Ubuntu Linux 1 Debian CD(4.1 ) Knoppix Debian CentOS Linux CentOS 1 Ubuntu L



wide94.dvi

RedHat OpenFOAM OpenFOAM ver 2.3 RedHat(RHEL)

Antenna House PDF Server V3.1 ユーザーズマニュアル

fiš„v3.dvi

help gem gem gem my help

Moldplus_Server_4.12

JP1/Integrated Management - Service Support 操作ガイド

Oracle Lite Tutorial

-2 gnuplot( ) j ( ) gnuplot /shell/myscript 1

1 1.1 PC PC PC PC PC workstation PC hardsoft PC PC CPU 1 Gustavb, Wikimedia Commons.

LWW EJ on Ovid LWW Ovid Online (Ovid Web Gateway) Ovid Online LWW tutorial Ovid Online Refresh Ovid Online LWW Ovid Medline, Cinahl, EBMR, Ovid

# mv httpd tar.gz /usr/local/src /usr/local/src # tar zxvf httpd tar.gz make #./configure # make # make install Apache # /usr/local/apac

TopLink å SampleClient.java... 5 Ò readallsample() querysample() cachesample() Ç..

Lotus Domino XML活用の基礎!

PBASIC 2.5 PBASIC 2.5 $PBASIC directive PIN type New DEBUG control characters DEBUGIN Line continuation for comma-delimited lists IF THEN ELSE * SELEC

NEC NP-L51WJD LAN AWIND Inc. LAN LAN NP03LM NP02LM LAN OS Windows Mac OS Android ios OS ViewLight NEC Apple iphone ipad ipod touch AppStore itu


Asterisk PBX 不正利用防止

JavaScript の使い方

2.2 Sage I 11 factor Sage Sage exit quit 1 sage : exit 2 Exiting Sage ( CPU time 0m0.06s, Wall time 2m8.71 s). 2.2 Sage Python Sage 1. Sage.sage 2. sa

( ) Shift JIS ( ) ASCII ASCII ( ) 8bit = 1 Byte JIS(Japan Industrial Standard) X 0201 (X ) 2 Byte JIS ISO-2022-JP, Shift JIS, EUC 1 Byte 2 By

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

UNIX

bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows ˆ Windows10 64bit Wi

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~ alse

1. IEEE Xplore 1.1. IEEE Xplore Institute of electrical and Electronics Engineers (IEEE) Institution of Electrical Engineers (IEE) 12, IEEE Xpl

Ansible

untitled

ruby novice ruby novice ruby novice.

Microsoft Word - 平成25年度調査研究事業報告書-四国大学山本 doc


Oracle Lite Tutorial

Ruby演習テキスト1

Copyright 2008 QSR International Pty Ltd. ABN All rights reserved. NVivo QSR ( ) QSR International Pty Ltd. Microsoft.NET SQL Server W

ksocket Documentation

untitled

SCM (v0201) ( ) SCM 2 SCM 3 SCM SCM 2.1 SCM SCM SCM (1) MS-DOS (2) Microsoft(R) Windows 95 (C)Copyright Microsoft Corp

LWW EJ on Ovid LWW Ovid Online (Ovid Web Gateway) Ovid Online LWW tutorial Ovid Online Refresh Ovid Online LWW Ovid Medline, Cinahl, EBMR, Ovid

HTML

MathLibre KNOPPIX (next generation) 2012 KNOPPIX/Math MathLibre KNOPPIX , KNOPPIX 6.0, next generation. KNOPPIX/Math KDE,

Web apache

(GitHub, Twitter) 由来 :m.yokoyama 発音例 :myokoyamaa ソフトウェア開発者将棋指し ( アマ三段 )

Java updated

untitled

debian_install.dvi

com.ibm.etools.egl.jsfsearch.tutorial.doc.ps

インストール取扱説明書


目次 1. Serverspec とは 1.1. Serverspecとは 1.2. Serverspecで出来る事 2. セットアップ 2.1. 必要なもの 2.2. インストール 3. デモ 3.1. デモ環境について 3.2. テスト対象サーバーの登録 3.3. サンプルテストの中身 3.4.

楽しい開発.pptx

1

Condition DAQ condition condition 2 3 XML key value

R による統計解析入門

橡実践Oracle Objects for OLE

untitled

joho09.ppt

コンピュータ概論

LAN Copyright c Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License

Systemwalker IT Service Management Systemwalker IT Service Management V11.0L10 IT Service Management - Centric Manager Windows


Linux XScreenSaver T020074


XMLアクセス機能説明書

2 1. Ubuntu 1.1 OS OS OS ( OS ) OS ( OS ) VMware Player VMware Player jp/download/player/ URL VMware Plaeyr VMware

大統一Debian勉強会 gdb+python拡張を使ったデバッグ手法

E MathML W3C MathJax 1.3 MathJax MathJax[5] TEX MathML JavaScript TEX MathML [8] [9] MathSciNet[10] MathJax MathJax MathJax MathJax MathJax MathJax We

¥ƥ­¥¹¥ȥ¨¥ǥ£¥¿¤λȤ¤˽

ii

Microsoft Word - Win-Outlook.docx

HDL Designer Series SupportNet GUI HDL Designer Series HDL Desi


ファイル アップロード

1 1 CentOS Java JDK(JavaSE Development Kit)......

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

Oracle HTML DB 導入ガイド

2005 3

1 Web Web 1,,,, Web, Web : - i -

インストール取扱説明書

WordPress Ktai Style Ktai Entry 18 Mac 18

book

untitled

Appendix

DocuWide 2051/2051MF 補足説明書

LiveCode初心者開発入門サンプル

DCL intro Manual for Ubuntu11.10

OpenCV Windows(cygwin) Linux USB PC [1] Inel OpenCV OpenCV 1 Windows Linux OpenCV (a) (b)2 (c) (d) 1: OpenCV 1

HIS-CCBASEver2

Microsoft Word - Live Meeting Help.docx

Mail_Spam_Manual_120815b

ACS電子ジャーナル利用マニュアル


UNIX

Transcription:

Redmine OSS @vegashrine @nobu_toyofuku 2012 1 21

Redmine

Redmine Redmine OSS ITIL

ITIL Redmine ITIL

...... Redmine

Redmine... redmine.jp DMSF Xapian Hyper Estraier DMSF DMSF

... DMSF...

DMSF

... MS-Office Linux OSS Windows OOS

OpenOffice OpenOfiice...

OS r-labs wiki http://www.r-labs.org/projects/r-labs/wiki/ CentOS 5.6

... Hyper Estraier DMSF cron

PDF GNU PDF GNOME GNOME Office OS PowerPoint xlhtml

Paco /usr/local PKG_CONFIG_PATH LD_LIBRARY_PATH --disable-xxx

Paco Wiki...

Paco

OS r-labs Wiki CentOS 5.6 CentOS 5.6 GTK+ http://www.gtk.org/download/linux.php GTK+ 3.02.x

GTK+ 2.x OS... GTK+ 2.14 $ cat /etc/redhat-release CentOS release 4.7 (Final) $ pwd /usr/local/src/gtk+-2.24.8 $./configure --prefix=/usr/local configure: error: Package requirements (glib-2.0 >= 2.27.3 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0) were not met: Requested 'glib-2.0 >= 2.27.3' but version of GLib is 2.4.7 Requested 'atk >= 1.29.2' but version of Atk is 1.8.0 Requested 'pango >= 1.20' but version of Pango is 1.6.0 No package 'cairo' found Requested 'gdk-pixbuf-2.0 >= 2.21.0' but version of GdkPixbuf is 2.4.13 $ $ /lib/libc.so* GNU C Library stable release version 2.3.4, by Roland McGrath et al. Copyright (C) 2005 Free Software Foundation, Inc.

GNOME yum *-devel cairo pango $ find /usr/local/src -name pangocairo.h -print /usr/local/src/pango-1.17.5/pango/pangocairo.h configure http://developer.gnome.org/gtk3/stable/gtk-building.html $ grep --disable configure $./configure --prefix=/usr/local --disable-jpeg $ grep /usr/lib /usr/local/lib/*.la grep dependency_libs

CentOS 4.7 1/2 CAIRO_BACKEND_CFLAGS=/usr/local/include/cairo CAIRO_BACKEND_LIBS=/usr/local/lib FREETYPE_CONFIG=/usr/local/bin/freetype-config bash goffice /usr/local/bin/bash-3.1 AbiWord ev_unixkeyboard.cpp #include <X11/Xkeysym.h> gdk-pixbuf-csource gnumeric-1.10.16/src/pixmaps/gnumeric-stock-pixbufs.h gdk-pixbuf //

CentOS 4.7 2/E...

1/2 #! /bin/sh case "$1" in *.pdf ) pdftotext "$1" "$2" ;; *.xls) tmpdir=`mktemp -d /tmp/estfilter.xxxxxxxx` ssconvert -S --export-type Gnumeric_stf:stf_csv "$1" $tmpdir/%n 2>&1 egrep -v '(^$ ^MISSING anchor for obj : EXCEL: unhandled excel object of type MS Drawing )' cat $tmpdir/* > "$2" /bin/rm -rf $tmpdir ;; *.doc) # wvware --charset=utf-8 --nographics $1 > $2 esac abiword --to txt --to-name $2 $1 ;;

2/E #! /bin/sh case "$1" in *.ppt)! ppthtml $1 > $2! ;; esac Hyper Estraier HTML #! /bin/sh echo date /usr/local/bin/estcmd gather -il ja -fx.pdf,.xls,.doc T@estfiltert.sh -fx.ppt H@estfilterh.sh -pc utf-8 -lf -1 -lt -1 $*

DMSF Xapian search plugin DMSF

Redmine REDMINE_ROOT vnedor/plugins/redmine_dmsf files init.rb config app dmsf_index dmsf locales models views ja.yml dmsf_file.rb settings _dmsf_settings.erb

config/locales/ja.yml Xapian Estraier

init.rb í áš

app/views/settings/_dmsf_settings.erb require xapian estraier

app/models/dmsf_file.rb database.nil unless database.nil? # create a search condition object cond = Estraier::Condition::new # set the search phrase to the search condition object querystring = tokens.join(options[:all_words]? ' AND ': ' OR ') cond.set_phrase(querystring ) # get the result of search result = database.search(cond) if result # for each document in the result dnum = result.doc_num for i in 0...dnum # retrieve the document object doc = database.get_doc(result.get_doc_id(i), 0) next unless doc # display attributes uri = doc.attr("@uri") if uri filename = uri.sub(/.*\//, '')

Xapian search plugin r-labs

Redmine REDMINE_ROOT vnedor/plugins/redmine_xapian files_index files lib config app init.rb locales controllers views xapian_search.rb acts_as_searchable.rb ja.yml search_controller.rb search index.rhtml

config/locales/ja.yml label_enable_redmine_xapian: "hyper estraier " label_index_database: "hyper estraier " label_document: " " label_stemming_lang: "Stemming Language estraier" label_enable_xapian_on_search: " hyper estraier " label_database_error: " Hyper Estraier"

init.rb xapian estraier @ -7,10 +7,10 @@ begin - require 'xapian' + require 'estraier' $xapian_bindings_available = true rescue LoadError - Rails.logger.info "REDMAIN_XAPIAN ERROR: No Ruby bindings for Xapian installed!!. PLEASE install Xapian search engine interface for Ruby." + Rails.logger.info "REDMAIN_XAPIAN ERROR: No Ruby bindings for Hyper Estraier installed!!. PLEASE install Hyper Estraier search engine interface for Ruby." - version '1.2.1' + version '1.2.1-JP'

app/controllers/search_controller.rb estraier @@ -96,6 +96,7 @@ end end + flash[:warning] = "warning: #{l(:label_database_error)}" unless @titles_only $xapian_bindings_available @results = @results.sort { a,b b.event_datetime <=> a.event_datetime} if params[:previous].nil? @pagination_previous_date = @results[0].event_datetime if offset && @results[0]

app/views/search/index.rhtml Stem xapian @@ -16,6 +16,7 @@ <% end %> </p> <% logger.debug "DEBUG: object_types from search: " + Redmine::Search.available_search_types.inspect %> +<% if false then %> <% Setting.plugin_redmine_xapian['stem_langs'].push(Setting.plugin_redmine_xapian['stemming_lang']) unless Setting.plugin_redmine_xapian['stem_langs'].include?(Setting.plugin_redmine_xapian ['stemming_lang']) %> <p> @@ -31,6 +32,7 @@ <%end%> +<%end%> <p><%= submit_tag l(:button_submit), :name => 'submit' %></p> <% end %> </div>

lib/acts_as_searchable.rb estraier wiki Redmine 1.3 REDMINE_ROOT/vendor/plugins/acts_as_searchable r-labs

lib/xapian_search.rb xapian estraier @@ -11,69 +11,56 @@ Rails.logger.debug "DEBUG: user_stem_lang: " + user_stem_lang.inspect Rails.logger.debug "DEBUG: user_stem_strategy: " + user_stem_strategy.inspect Rails.logger.debug "DEBUG: databasepath: " + getdatabasepath(user_stem_lang) - databasepath = getdatabasepath(user_stem_lang) + databasepath = getdatabasepath('') begin - database = Xapian::Database.new(databasepath) + database = Estraier::Database::new + unless database.open(databasepath, Estraier::Database::DBREADER) + return [xpattachments,0] + end rescue => error raise databasepath - return [xpattachments,0] end # Start an enquire session. - enquire = Xapian::Enquire.new(database) + enquire = Estraier::Condition::new +

m( ;)m Lotus Notes Redmine Mac OS X Spotlight Mac OS X Redmine... Android