Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10904

Re: [Debian PAPT] Question about salsa repo and packaging

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Sergio Durigan Junior <sergiodj@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: [Debian PAPT] Question about salsa repo and packaging
Date Sun, 16 Sep 2018 19:00:01 +0200
Message-ID <wyIyR-3qx-1@gated-at.bofh.it> (permalink)
References <wykZz-6CG-1@gated-at.bofh.it> <wyxWN-5OC-3@gated-at.bofh.it> <wyzlT-6JY-7@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Sep 16 16:57:05 2018
Old-Return-Path <sergiodj@sergiodj.net>
X-Amavis-Spam-Status No, score=-11.899 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
X-URL http://blog.sergiodj.net
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version 1.0
Content-Type multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16331
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/878t41bcu6.fsf@debian.org
Approved robomod@news.nic.it
Lines 58
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 16 Sep 2018 12:56:33 -0400
X-Original-Message-ID <878t41bcu6.fsf@debian.org>
X-Original-References <ee655afb-b058-afb7-7622-b4e57111a23b@web.de> <87ftyaatyi.fsf@debian.org> <20180916064900.qa4ibrkfcldk4clp@manillaroad.local.home.trueelena.org>
Xref csiph.com linux.debian.maint.python:10904

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sunday, September 16 2018, Elena wrote:

> On 2018-09-16 at 01:32:05 -0400, Sergio Durigan Junior wrote:
>> > 1. I'd like to revert some changes to the salsa repo for my package, as
>> > these changes were never uploaded to Debian and are not superseded by
>> > new upstream package. Is it OK to do a "git reset --hard xxxx" to make
>> > them disappear in my repository?
>> 
>> You mean do a "git reset --hard" locally and then "git push" the
>> modified history?  This is not ideal, but if you're the only one using
>> the repository, and if there was no Debian release containing the code
>> you're reverting, then I'd say it's OK.
>
> can one be sure that nobody else is using the repository? maybe nobody
> in debian, but what about our derivatives? or even our users
>
> if there is a strong need to remove those changes (e.g. for copyright
> reasons) I agree that a reset --hard is a reasonable option, but if it's
> just to keep the repo clean my personal preference would be for a ``git
> revert`` that doesn't break the repo for other users.

I understand and agree with your comment, but it seems like his commits
are pretty recent.  As I said, overwitting history is never ideal, but
under specific circumstances I think it's "ok-ish".

But sure, if you're comfortable with using "git revert", then by all
means, go ahead.

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[Debian PAPT] Question about salsa repo and packaging Hilmar Preuße <hille42@web.de> - 2018-09-15 17:50 +0200
  Re: [Debian PAPT] Question about salsa repo and packaging Sergio Durigan Junior <sergiodj@debian.org> - 2018-09-16 07:40 +0200
    Re: [Debian PAPT] Question about salsa repo and packaging Elena ``of Valhalla'' <valhalla-d@trueelena.org> - 2018-09-16 09:10 +0200
      Re: [Debian PAPT] Question about salsa repo and packaging Sergio Durigan Junior <sergiodj@debian.org> - 2018-09-16 19:00 +0200
    Re: [Debian PAPT] Question about salsa repo and packaging Hilmar Preuße <hille42@web.de> - 2018-09-22 21:10 +0200

csiph-web