I want to move tickets from one trac instance to another. Is there some utility that will help me do this? The current instance is running on my server using a sqllite db. The instance that I want to move to is on sourcerepo. Are there any utilities that can help me migrate these tickets?
Since sourcerepo also provides a redmine installation, I wouldn't mind if I could move tickets from trac to redmine.
Take a look at what the Trac wiki has to say about migrating data between Trac installations.
Related
I wonder if there is a good way of deploying database changes made on a typo3 website (on dev) to a live website?
In Magento for example there are folders containg sql install statements (for the structure, new tables etc.) and data install scripts (inserting data into the tables).
These scripts are automatically executed when deployed to live.
Good ways of getting rid of manual database adaptions are welcome.
Thanks!
cweiske explained it well, for common admin it's enough to know that Install Tool has Database Analyser > Compare functionality, which is dedicated for handling DB schema differences.
TYPO3 extensions have their ext_tables.sql files which define the database structure they need.
When installing the extension, the necessary database structure changes are made by the TYPO3 extension manager. You can also apply the changes yourself by using the install tool -> database update.
So as long as your extensions have the correct table definitions, you're fine and can rely on TYPO3 to update the actual database.
We in our team are planning to use gerrit. So, to get introduced, I did set up a server, used open-id for authentication and created some test-users and test-projects in it.
Now we are ready to use it. But we actually prefer LDAP for real use.
So, can I change my authentication system from open-id from LDAP? What will happen to current users then?
I want to clear test projects and changes. How can I do them?
Can I complete delete existing gerrit setup and initiate a fresh setup in same machine? (I tried extracting the jar in different folder, but I faced some problems in it)
I am using Ubuntu 12.04 as my server.
Please help.
Delete the database (you're not using the H2 database anymore, but some MySQL or PostgreSQL server, don't you?) plus the directory where Gerrit is running (the -d parameter, see docs). Additionally, remove the git repos, if you configured them to be located on a different path.
Then all your data is gone and you can start from scratch.
I have launched a TRAC demo server in cloud using Bitnami hosting. I just want to check how to work with multiple projects in TRAC. Now I can see only one project in the demo server and no options are there to add new project.
Bitnami wiki explains how to create a new project in windows/mac via cmd but I can't find any info about project creation in cloud. Can somebody help me with this?
It's not fully clear what you understand of "projects"; that term is ambiguous. But there are 2 possibilities:
On the level of Apache and its Trac instances:
bitnami-trac-1.0.1\apache2\conf\httpd.conf contains an include of bitnami-trac-1.0.1\apps\trac\conf\trac.conf and you can add another <Location> of a new Trac instance there. This will allow to run multiple Tracs within one Apache. See this Trac wiki about MultipleProject for details. Basically, first you need to create a second Trac instance (with its database) by calling bitnami-trac-1.0.1\apps\trac\Scripts\trac-admin.exe from Bitnami command line shell.
On the level of Trac and its plugins:
you may want to setup several "user projects" within one running Trac instance. Read this Trac wiki about MultipleProjects/SingleEnvironment for details. Basically, you'll need to install and setup a plugin called SimpleMultiProjectPlugin.
You need to access your machine and use the command line. Take a look at the documentantion for accessing your server: http://wiki.bitnami.com/BitNami_Cloud_Hosting/Servers/Access_your_machine
Hey everyone, I made sure there wasn't a similar discussion before posting but forgive me if I am mistaken.
Question: Can I use Indefero - http://www.indefero.net/ - with SVN on a linux server if I do not have any sort of web interface installed for Apache? Instead, I want to use Indefero with SVN by just using the svnserve server. From my readings, I'm not finding this exact situation mentioned anywhere, so I'm doubting if this configuration is possible.
Forgive my ignorance; Thanks. :)
EDIT: the svnserve server and Indefero installation will be running on the same machine.
Gnucom, at the moment it is not yet in the master branch, but you already have a patch to fully support svnserve. If you do not want to apply the patch, you can also use Indefero without it controlling the access rights to the repositories. Indefero can read the repositories and you control the access to the source yourself. You can get a lot of your questions answered by the community if you need.
We are managing our development with Subversion over HTTPS, Bugzilla, and Mediawiki. Some of our developers have expressed an interest in migrating to Trac, so I have to evaluate what the cost of doing so would be.
For both the wiki and bugzilla, we would need to either migrate the existing data into Trac or a way to integrate with trac. Having two apps to create wiki pages or log bugs would not be acceptable. Also, currently each of these applications requires a separate sign on so we would need to map each of these accounts into Trac.
So know of any easy methods of importing or integrating these systems with Trac and/or a tutorial for doing so?
For Bugzilla, Trac has a script bugzilla2trac.py that will automate the process of importing Bugzilla bugs to Trac tickets for you. Of course, Trac doesn't have support for blocking/blockedby tickets out of the box, so if you want to import this data too, you'll have to use the MasterTicketsPlugin and then modify the script yourself (which is what we did when we migrated).
Wiki pages
If you could export your pages to text files you could import them using the Trac-Admin: http://trac.edgewall.org/wiki/TracAdmin wiki import command. Some formating clean-up migration might be in order
Tickets/Bugs
This script by Tom Lazar give you ability to synchronize the tickets system with a CSV file.
This gives you an ability to migrate from BugZilla: http://bitten.edgewall.org/wiki/TracImport
You could also check out this resource: http://trac.edgewall.org/wiki/TracSynchronize
For MediaWiki there exists a script as well: http://trac.edgewall.org/ticket/5241
It has some bugs, but imports all important information (pages, revisions, images, users). Together with the other mentioned script you should be able to migrate to Trac.
One thing that is not covered (yet) by the import script is the resolution of bugzilla links of the kind bug X or bug X comment Y.
One solution for this is to use the RegexLinkPlugin (http://trac-hacks.org/wiki/RegexLinkPlugin) with the following configuration in the trac.ini file:
[regexlink]
regex1=\bbug (?P<bug_id_comment>\d+) comment #(?P<commentid>\d+)\b
url1=http://your.trac.instance.com/ticket/\g<bug_id_comment>#comment:\g<commentid>
regex2=\bbug (?P<bug_id>\d+)\b
url2=http://your.trac.instance.com/ticket/\g<bug_id>