有没有办法离线运行 Trac?

发布于 2024-07-20 22:52:59 字数 266 浏览 8 评论 0原文

我想下载 Trac 数据库,以便可以离线查看其票证。 有办法实现这个目标吗? 即,如果我需要离开办公室并携带笔记本电脑,如何在不连接公司网络的情况下携带票据?

我知道 Mylyn 可以通过它的 trac 连接器下载和同步票证,但我想要一些独立的票证观众。

I'd like to download the Trac database so I can view its tickets offline. Is there anyway to achieve this? I.e. if I need to leave the office and bring my laptop with me, how can I bring the tickets with me without having to connect to the company network?

I know that Mylyn can download and sync tickets via it's trac connector but I'd like some stand-alone viewer.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

虫児飞 2024-07-27 22:52:59

请参阅简单缺陷 (SD)

我特别喜欢“一条推文安装”的想法。

I’m installing #SD (http://syncwith.us) 
after reading about it on #StackOverflow
curl fsck.com/sd|perl; 
export $PATH=~/sd/bin:$PATH; sd

请注意,您可以在 SD 中克隆 Trac(和其他 bugtracker)

sd clone --from trac:https://trac.parrot.org/parrot

See Simple Defects (SD).

I particularly like the "One-tweet install" idea.

I’m installing #SD (http://syncwith.us) 
after reading about it on #StackOverflow
curl fsck.com/sd|perl; 
export $PATH=~/sd/bin:$PATH; sd

Note that you can clone Trac (and other bugtrackers) in SD:

sd clone --from trac:https://trac.parrot.org/parrot
蒗幽 2024-07-27 22:52:59

既然你不想安装服务器,那么使用 RSS 怎么样? IIRC、Trac 让您可以获取每个人的 RSS 提要,这样您就可以获得分配给您的事物的提要。

然后您需要做的就是找到一个可以下载这些门票的好客户端。 您应该能够在没有互联网连接的情况下访问纯文本版本。

如果这不够灵活,您可以在服务器上编写脚本来直接使用数据库发布提要。

如果 RSS 不适合您(并且您的电子邮件可以离线使用),您可以将报告邮寄回家。 Trac 也内置了这个。

Seeing as you don't want to install a server, how about using RSS? IIRC, Trac let lets you get RSS feeds for each person, so you can have a feed of things assigned to you.

All you need do then is get a nice client that will download these tickets. You should be able to access a plaintext version without internet connection.

If that's not flexible enough, you could write a script on the server to publish a feed using the database directly.

And if RSS isn't for you (and your email is available offline), you could mail reports home. Trac also has this built in.

久夏青 2024-07-27 22:52:59

默认 Trac 安装使用 SQLite 组合来维护所有数据。 附件存储在文件系统上。

在包含 trac 站点的文件夹中,找到 \db\trac.db

该文件可以使用 SQLite 管理器 Firefox 插件

快乐狩猎。

The default Trac installation uses a combination of SQLite to matintain all of the data. Attachements are stored on the file system.

In the folder containing the trac site, find \db\trac.db

This file can be viewed using the SQLite manager Firefox Addon

Happy hunting.

楠木可依 2024-07-27 22:52:59

如果 RSS 或电子邮件不是您选择的通知,则有一个 trac 插件可以让您在 Remember The牛奶 待办事项列表。

请参阅:http://1 .www.rememberthemilk.com/forums/ideas/3580/?forum=ideas&hl=bs&topic=3580

And if RSS or email isn't your notification of choice, there's a trac plugin that will let you receive task notifications on your Remember The Milk todo list.

See: http://1.www.rememberthemilk.com/forums/ideas/3580/?forum=ideas&hl=bs&topic=3580

玩世 2024-07-27 22:52:59

如果您的目标只是离线查看票证,那么如何

  1. 运行包含所有票证(或所有您感兴趣的票证)的报告。
  2. 选择页面底部的逗号分隔或制表符分隔的下载链接。
  3. 将下载的文件导入 Excel。

If your objective is simply to view the tickets offline, how about

  1. Run a report with all the tickets (or all those you're interested in).
  2. Select either the comma-delimited or tab-delimited download link at the bottom of the page.
  3. Import the downloaded file into Excel.
梓梦 2024-07-27 22:52:59

您可以将其安装在本地计算机上

you could install it on a local machine

黑色毁心梦 2024-07-27 22:52:59

您可以在本地托管 trac 并设置指向您下载的数据库的连接字符串点。

You can host the trac locally and set up the connectionstring point to your dowloaded database.

说谎友 2024-07-27 22:52:59

当然。 在本地安装 Web 服务器,安装 trac,以与实时版本相同(或相似)的方式进行设置,然后编写服务器脚本以发布数据库备份,并编写本地脚本来下载这些备份并恢复它们你的数据库。

这并不简单(根据我的经验,安装 Trac 本身就是一场战斗),但每个元素都可以通过谷歌搜索 =)

Sure. Install a web server locally, install trac, get it set up the same (or similar) way to the way it is on the live version and then script the server to publish db backups and write a local script to download those and restore them over your database.

It's not simple (installing Trac is a battle on its own from my experience of it) but every element is highly googleable =)

浮华 2024-07-27 22:52:59

trac 客户端 FatBug (http://fat-bug.com/) 中列出
https://trac.edgewall.org/wiki/Clients
似乎完全按照OP所描述的进行。 我刚检查SD后就碰到了它。 SD 在 Linux 上似乎很琐碎,但在 Windows 上却很重,它依赖于 Perl 和 Perl。 CPAN。

The trac client FatBug (http://fat-bug.com/) listed in
https://trac.edgewall.org/wiki/Clients
seems to do the exact what was described by the OP. I bumped into it after I just checked SD. SD seems trival on Linux, but heavy on Windows, it depends on Perl & CPAN.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文