bugzilla

个人博客作业(阅读作业)

我与影子孤独终老i 提交于 2020-04-18 12:11:54
个人博客作业(阅读作业) 项目 内容 这个作业属于哪个课程 2020春季计算机学院软件工程(罗杰 任健) 这个作业的要求在哪里 个人博客作业 我在这个课程的目标是 体验软件工程上完整的流程,学习开发知识,培养开发能力,实现个人素质的提升 这个作业在那个具体方面帮我实现目标 通过阅读《构建之法》,初步了解掌握软件工程中的相关概念和知识 作业正文 正文如下 其他参考文献 提问的艺术 , 如何提问 , 你所不知道的 Dijkstra ,《构建之法》, 1、快速看完整部教材,列出你 仍然不懂 的5到10个问题。 问题一:教材2.1.2 单元测试是否只能由本人编写? 单元测试必须由最熟悉代码的人(程序的作者)来写。代码的作者最了 解代码的目的、特点和实现的局限性。所以,写单元测试没有比作者更适合的人 选了。 由本人完成的程序当然只有本人最熟悉,代码作者确实最了解代码的目的和特点,但是对于代码的局限性这一点我认为代码作者不一定能够清晰准确的认识到。正是因为代码的作者有了这份代码完整的编写逻辑,这很可能会成为一种固化的思维,影响到编写者在设计单元测试时的想法。在这一点上,我认为其他的了解代码目的特点的人可能会更具有发散的思维,不受编写逻辑的影响,设计出更完备更全面的单元测试。 问题二:教材4.5.2 关于结对编程 在结对编程模式下,一对程序员肩并肩、平等地、互补地进行开发工作。他们并

How can I authenticate when using the Bugzilla Perl API in a script?

旧城冷巷雨未停 提交于 2020-01-11 06:12:18
问题 Working from the Bugzilla API, I've written a quick Perl script to clone a Bugzilla Product (recreating all the Components under their new Product). The Bugzilla Perl API is quite easy to use from the command line. I could have just worked on the database directly, but I wanted a longer-term solution. Another option was the webservice, but I thought I'd try using the API directly this time. The one problem I'm running into is authenticating as my Bz admin user so I can create the new

CentOS7.4\RHEL7.4 [system] Failed to activate service 'org.freedesktop.systemd1': timed out

好久不见. 提交于 2020-01-06 18:02:24
原因 systemd 的已知 bug,参考如下: Red Hat Bugzilla – Bug 1369460 Red Hat Bugzilla – Bug 1437114 Red Hat Bugzilla – Bug 1325870 Is it possible to unfreeze the execution of systemd without reboot? 临时解决办法 强制重启系统 systemctl reboot -ff 后续解决办法 升级 systemd 版本 来源: CSDN 作者: zzboat0422 链接: https://blog.csdn.net/zzboat0422/article/details/103856428

Managing branches in subversion

好久不见. 提交于 2020-01-04 13:59:08
问题 I don't think I'm doing something right. I am using subversion as my vcs for our organizations website. I am the sole developer and I'm using bugzilla as my bugtracking system. I've got bugzilla and svn loosely coupled using the bugtraq properties so that I can link from my comments to bugzilla. What I'm doing right now is whenever I get a request to perform any work on the website (enhancement, breakfix, content change) I create a bug [xx] in bugzilla then create a branch named bug[xx].

Cannot login to Bugzilla from PyBugz

匆匆过客 提交于 2019-12-25 06:55:46
问题 I am having trouble authenticating my bugzilla user from pybugz. PyBugz v0.9.3 Bugzilla v4.4.6 I'm using this older version of pybugz because I believe I need it for gitzilla. Anonymous login to bugzilla has been allowed by setting the option requirelogin = off. I can successfully retrieve a bug anonymously with this command bugz -b http://bugs.domain.org.au --skip-auth get 1 but when I attempt to authenticate with this bugz -b http://bugs.domain.org.au -u me@bugs.domain.org.au -p mypassword

How to use JavaScript to dynamically update the Bugzilla Additional Comments textarea?

大城市里の小女人 提交于 2019-12-25 03:07:58
问题 I am customising Bugzilla and I need to update the text in the Additional Comments text area on the bug editing page. This text will need to be changed dynamically depending on which status the user selects from the drop down menu. For this im hoping to use the onChange event. Has anyone any suggestions on how to implement this? 回答1: Here is an example that may illustrate one way of doing it: <html> <head> <script> var messages = ['Message 0', 'Message 1', 'Message 2', 'Message 3', 'Message 4

How to use bugzilla API in existing bugzilla code?

喜欢而已 提交于 2019-12-24 12:14:25
问题 Well, at the moment i have two goals. User don't have Edit bug rights in bugzilla, but he/she should write/post comments on that bug. I think this could be possible by the following API, but I am not sure, since I am new in bugzilla and Perl. http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html#add_comment I want to import bugs by using importxml.pl, but I don't want new entries in DB. I just want to modify some fields of existing bugs of bugzilla, on the base of bug.xml

Apache multiple virtual hosts on the same same ip(diffrent url's)

随声附和 提交于 2019-12-24 01:01:35
问题 I have 2 virtual hosts(bugzilla and board review) on an apache server sitting inside an ubuntu machine. I have one external ip address I can use(with one port enabled) so I can't assign different host names or different ports for the virtual hosts.(correct me if I'm wrong) I want the user to be able to write the following: http://ip-address:port/bugzilla and for the requests to go to bugzilla and for requests from http://ip-address:port/review to go to the review board. I tried reverse

How can I migrate versions from bugzilla into a new custom 'source version' field in redmine (what SQL syntax do I need)?

会有一股神秘感。 提交于 2019-12-24 00:56:12
问题 I'm in the process of migrating a bugzilla installation over to redmine. In bugzilla bugs were always logged against the version of software which caused the issue to be raised. Since redmine supports roadmaps I'd like to do a few things to migrate. The first part I'd like to do is to move all the current version settings over to a new custom 'source version' field. I've tried making a new custom field called 'source version' and manually altering a few bug reports to use that field. Some

Bugzilla: closed-fixed bugs: how to stop further comments being added to bug (due to freezing for migration to JIRA)

流过昼夜 提交于 2019-12-23 02:46:11
问题 In bugzilla 2.22.7, it is possible to add further comments to a closed-fixed/resolved bug. I would like to deactivate this feature as I want to migrate bugs as they get closed to JIRA and not have people updating the old system. I could hotwire/custom hack the bugzilla Perl code to do this, eventually when I've understood it, but just wondered if there was a better way... 回答1: Hardwire/hack: in the show_bug.cgi bugzilla code, modify it, with the equivalent of the following pseudocode: if