Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541076 - repoman commit complains about hidden files
Summary: repoman commit complains about hidden files
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2015-02-22 18:38 UTC by Michał Górny
Modified: 2022-04-11 20:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-22 18:38:24 UTC
!!! The following files are in your local tree but are not added to the master
!!! tree. Please remove them from the local tree or add them to the master tree.
    ./.git/HEAD
    ./.git/config
    ./.git/COMMIT_EDITMSG
    ./.git/description
    ./.git/index
    ./.git/logs/HEAD
    ./.git/logs/refs/heads/master
    ./.git/objects/cb/0ab763c5a150d14f0f8282b7492f6af0a43ff3
    ./.git/objects/cb/2c20dc43ea644448a7b955d47fcb1512faf69b
    ./.git/objects/cb/67616055d8ee81dfc51c312d1bca9426cb9464

This makes me very unhappy. Why should it care about hidden files? We won't commit them into CVS anyway!
Comment 1 Zac Medico gentoo-dev 2015-02-22 22:45:38 UTC
(In reply to Michał Górny from comment #0)
> This makes me very unhappy. Why should it care about hidden files? We won't
> commit them into CVS anyway!

It probably doesn't realize that they are hidden, so it thinks you've got a bunch of "untracked files" to deal with (so you won't end up committing manifests containing untracked files).

So, we need to teach it to ignore hidden files.
Comment 2 Larry the Git Cow gentoo-dev 2019-12-03 23:07:56 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=a561ac910331657ffb281ca2b16bb1c8d075770e

commit a561ac910331657ffb281ca2b16bb1c8d075770e
Author:     Zac Medico <zachary.medico@sony.com>
AuthorDate: 2019-12-03 22:59:17 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-12-03 23:07:26 +0000

    repoman commit: ignore unadded hidden files
    
    Bug: https://bugs.gentoo.org/541076
    Copyright: Sony Interactive Entertainment Inc.
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 repoman/lib/repoman/actions.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2019-12-03 23:18:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=1c2e99fbf21675c8335ab8a3eee0ed58e89c4342

commit 1c2e99fbf21675c8335ab8a3eee0ed58e89c4342
Author:     Zac Medico <zachary.medico@sony.com>
AuthorDate: 2019-12-03 23:14:54 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-12-03 23:18:02 +0000

    repoman commit: ignore unadded hidden files except '.' itself
    
    Fixes: a561ac910331 ("repoman commit: ignore unadded hidden files")
    Bug: https://bugs.gentoo.org/541076
    Copyright: Sony Interactive Entertainment Inc.
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 repoman/lib/repoman/actions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Larry the Git Cow gentoo-dev 2019-12-06 07:52:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb5d7b074164ceae5f03ddfb40881a7cc6f12dd

commit 7bb5d7b074164ceae5f03ddfb40881a7cc6f12dd
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-12-06 07:45:55 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-12-06 07:52:30 +0000

    app-portage/repoman: Bump to version 2.3.20
    
     #541076 repoman commit: ignore unadded hidden files
     #702100 repoman: support profiles/package.deprecated
    
    Bug: https://bugs.gentoo.org/541076
    Bug: https://bugs.gentoo.org/702100
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-portage/repoman/Manifest              |  1 +
 app-portage/repoman/repoman-2.3.20.ebuild | 63 +++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)
Comment 5 Mike Gilbert gentoo-dev 2022-04-11 20:27:44 UTC
Released long ago.