mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 15:42:14 +00:00
ICU-7779 add readme and license
X-SVN-Rev: 28245
This commit is contained in:
parent
e1efa6e549
commit
f063faa350
5 changed files with 155 additions and 0 deletions
4
.gitattributes
vendored
4
.gitattributes
vendored
|
@ -448,6 +448,10 @@ tools/trac/IcuCodeTools/icucodetools/templates/nothing.html -text
|
|||
tools/trac/IcuCodeTools/icucodetools/templates/review.html -text
|
||||
tools/trac/IcuCodeTools/icucodetools/ticketmgr.py -text
|
||||
tools/trac/IcuCodeTools/icucodetools/tktlist.py -text
|
||||
tools/trac/IcuCodeTools/license.html -text
|
||||
tools/trac/IcuCodeTools/readme.txt -text
|
||||
tools/trac/IcuCodeTools/setup.cfg -text
|
||||
tools/trac/IcuCodeTools/setup.py -text
|
||||
tools/unicodetools/com/ibm/rbm/docs/images/TitleLogo_transparent.gif -text
|
||||
tools/unicodetools/com/ibm/rbm/docs/images/arrow_bullet.gif -text
|
||||
tools/unicodetools/com/ibm/rbm/docs/images/diamond_bullet.gif -text
|
||||
|
|
51
tools/trac/IcuCodeTools/license.html
Normal file
51
tools/trac/IcuCodeTools/license.html
Normal file
|
@ -0,0 +1,51 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></meta>
|
||||
<title>ICU License - ICU 1.8.1 and later</title>
|
||||
</head>
|
||||
|
||||
<body BGCOLOR="#ffffff">
|
||||
<h2>ICU License - ICU 1.8.1 and later</h2>
|
||||
|
||||
<p>COPYRIGHT AND PERMISSION NOTICE</p>
|
||||
|
||||
<p>
|
||||
Copyright (c) 1995-2010 International Business Machines Corporation and others
|
||||
</p>
|
||||
<p>
|
||||
All rights reserved.
|
||||
</p>
|
||||
<p>
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, and/or sell
|
||||
copies of the Software, and to permit persons
|
||||
to whom the Software is furnished to do so, provided that the above
|
||||
copyright notice(s) and this permission notice appear in all copies
|
||||
of the Software and that both the above copyright notice(s) and this
|
||||
permission notice appear in supporting documentation.
|
||||
</p>
|
||||
<p>
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL
|
||||
THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM,
|
||||
OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
|
||||
RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
</p>
|
||||
<p>
|
||||
Except as contained in this notice, the name of a copyright holder shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings in
|
||||
this Software without prior written authorization of the copyright holder.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<p><small>
|
||||
All trademarks and registered trademarks mentioned herein are the property of their respective owners.
|
||||
</small></p>
|
||||
</body>
|
||||
</html>
|
61
tools/trac/IcuCodeTools/readme.txt
Normal file
61
tools/trac/IcuCodeTools/readme.txt
Normal file
|
@ -0,0 +1,61 @@
|
|||
ICU Code Tools plugin
|
||||
|
||||
Copyright (C) 2010 IBM Corporation and Others. All Rights Reserved.
|
||||
See license.html for the license file. This file is part of the
|
||||
ICU project and is under the same license.
|
||||
|
||||
Requirements:
|
||||
Trac (0.11 or 0.12+?)
|
||||
Repository
|
||||
|
||||
Installing:
|
||||
1. install the plugin - at least the ticketmanager and review portion.
|
||||
|
||||
In trac.ini under '[components]' add:
|
||||
icucodetools.review.reviewmodule = enabled
|
||||
icucodetools.ticketmgr.ticketmanager = enabled
|
||||
|
||||
NOTE: DCUT and TKTLIST parts are not working yet.
|
||||
Don't worry about enabling them.
|
||||
|
||||
2. in your trac.ini describe how your changesets describe a ticket.
|
||||
Our changesets look like this: "ticket:1234: fixed the broken code"
|
||||
We use this regex:
|
||||
|
||||
[icucodetools]
|
||||
ticket_pattern = ^ticket:(\d+)
|
||||
|
||||
3. you may need to run trac-admin <environment> upgrade
|
||||
|
||||
4. Grant permission of ICUREVIEW_VIEW to whomever you want to
|
||||
be able to review tickets.
|
||||
|
||||
5. Now, any ticket will have something in the top right corner which says:
|
||||
"No commits" - no commits against this ticket
|
||||
|
||||
"Review 1 commits" - there is only one commit. Clicking this link
|
||||
will just take you to that single changeset.
|
||||
|
||||
"Review n commits" - there are more than one commits against this
|
||||
ticket.
|
||||
|
||||
|
||||
Troubleshooting:
|
||||
|
||||
Q: My commits aren't being found!
|
||||
A: Check the debug log. It will note commits with unparseable messages
|
||||
|
||||
Q: How do I resync the commits?
|
||||
A: Until we implement trac 0.12 changeset listeners, you can do this:
|
||||
|
||||
0. back up your path/to/env/db/trac.db
|
||||
|
||||
1. $ sqlite3 path/to/env/db/trac.db
|
||||
|
||||
2. sqlite> delete from rev2ticket;
|
||||
|
||||
3. sqlite> update system set value='-1' where name='icu_tktmgr_youngest';
|
||||
|
||||
4. sqlite> .quit
|
||||
|
||||
Now the ticket manager will re-sync the first time you hit a ticket.
|
4
tools/trac/IcuCodeTools/setup.cfg
Normal file
4
tools/trac/IcuCodeTools/setup.cfg
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Copyright (C) 2007-2010 IBM and Others. All Rights Reserved
|
||||
[egg_info]
|
||||
tag_build = dev
|
||||
tag_svn_revision = true
|
35
tools/trac/IcuCodeTools/setup.py
Executable file
35
tools/trac/IcuCodeTools/setup.py
Executable file
|
@ -0,0 +1,35 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2007-2010 IBM and Others. All Rights Reserved.
|
||||
# All rights reserved.
|
||||
#
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
PACKAGE = 'IcuCodeTools'
|
||||
VERSION = '0.0.1'
|
||||
|
||||
setup(
|
||||
name=PACKAGE, version=VERSION,
|
||||
description='Miscellaneous ICU Extensions to Trac',
|
||||
author="Steven R. Loomis", author_email="srl@icu-project.org",
|
||||
license='BSD', url='http://icu-project.org',
|
||||
packages=find_packages(exclude=['ez_setup', '*.tests*']),
|
||||
package_data={
|
||||
'icucodetools': [
|
||||
'htdocs/css/*.css',
|
||||
'templates/*.cs',
|
||||
## 'htdocs/img/*.png',
|
||||
# 'htdocs/js/*.js',
|
||||
]
|
||||
},
|
||||
entry_points = {
|
||||
'trac.plugins': [
|
||||
'icucodetools.ticketmgr = icucodetools.ticketmgr',
|
||||
'icucodetools.review = icucodetools.review',
|
||||
'icucodetools.tktlist = icucodetools.tktlist',
|
||||
'icucodetools.dcut = icucodetools.dcut'
|
||||
]
|
||||
}
|
||||
)
|
Loading…
Add table
Reference in a new issue