From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: BuGit Date: Tue, 02 Feb 2016 17:06:55 -0500 Message-ID: References: <56B103C1.4050008@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454450839 3846 80.91.229.3 (2 Feb 2016 22:07:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Feb 2016 22:07:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 02 23:07:06 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aQj6H-0004cN-HP for ged-emacs-devel@m.gmane.org; Tue, 02 Feb 2016 23:07:05 +0100 Original-Received: from localhost ([::1]:59676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQj6G-0000pJ-Pd for ged-emacs-devel@m.gmane.org; Tue, 02 Feb 2016 17:07:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQj6C-0000pD-N3 for emacs-devel@gnu.org; Tue, 02 Feb 2016 17:07:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQj69-000300-Ef for emacs-devel@gnu.org; Tue, 02 Feb 2016 17:07:00 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:54088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQj69-0002zs-89 for emacs-devel@gnu.org; Tue, 02 Feb 2016 17:06:57 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.DIT.UMontreal.CA (8.14.1/8.14.1) with ESMTP id u12M6sZw027458; Tue, 2 Feb 2016 17:06:54 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 5DC9D60178; Tue, 2 Feb 2016 17:06:55 -0500 (EST) In-Reply-To: <56B103C1.4050008@yandex.ru> (Dmitry Gutov's message of "Tue, 2 Feb 2016 22:30:09 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.4 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.2, TRK_NCM1=0.2, RV5569=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5569> : inlines <4261> : streams <1581224> : uri <2131794> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199192 Archived-At: >> https://gitlab.com/monnier/bugit >> It's still primitive (only the command-line UI and the email >> notification system are more or less complete: the web UI is still >> read-only, and there is no email UI at all). > Looks like an interesting experiment. > These lines look a bit contradictory to me: >> ...the user can also share the same repository with the main project. >> Every issue lives in its own branch named bugit/. > I imagine it might be uncomfortable working on a project which contains > thousands of branches. You do a pull--and Git shows you all the remotes that > have changed. With lots of branches, that would be a lot of output, even if > you don't check them out locally. Indeed. I don't have much experience with such a situation yet, but I expect "branch-namespace-pollution" to be a problem. Currently, for BuGit itself, I have 2 central repositories (one for the code, one for the bug database), but I clone them into a shared local repository. So when I do "git pull/push" I access the source repository (and corresponding branches), and when I do "bugit sync" I access from the bug repository (and corresponding branches). That takes care of the use-case you mention, but it still leaves another problem "git branch -a" includes all the bugit branches, which is inconvenient. I haven't tried to solve this issue yet, but I'm thinking of not sharing the local repository, and instead store the local bugit repository in a subdirectory like .git/bugit. > Not sure if there's an option to ignore only certain branches, for > certain commands. I use Git's support for multiple remote repositories for that. Stefan