タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

Tracに関するVitSymtyのブックマーク (2)

  • Trac から Redmine の移行で日本語添付ファイルが移行できない時

    ${REDMINE_HOME}/lib/tasks/migrate_from_trac.rakeを以下のように修正する。 なんでこんな問題放置されてるんだ?日語環境だけなのかな。 TracLightningからの移行で確認しました。 private def trac_fullpath attachment_type = read_attribute(:type) - trac_file = filename.gsub( /[^a-zA-Z0-9\-_\.!~*']/n ) {x sprintf('%%%02x', x[0]) } - "#{TracMigrate.trac_attachments_directory}/#{attachment_type}/#{id}/#{trac_file}" + "#{TracMigrate.trac_attachments_directory}/#{

  • VPS作業メモ[4]-SVN+trac

    引き続き今度はSVN+trac。 色々と起きすぎなんだけど、ちょいまとめきれないので覚えている分だけ。 _____ まずはSVNインストール。 VPS に Subversion 導入 認証をかけておく。 第10回 ユーザー認証によるアクセス制限(ベーシック認証編) # htpasswd -c /var/project/svnrepository/.htpasswd svnuser New password: Re-type new password: Adding password for user svnuser 作業中にこんなエラーが出てくる。 Repository moved permanently to 'http://VPSアドレス/svn/sample/'; please relocate 同様の症状を見つける。 Locationで指定したディレクトリが実際に存在してると起きる

  • 1