Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533098 - sys-apps/portage: improve initial git sync message
Summary: sys-apps/portage: improve initial git sync message
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL: http://article.gmane.org/gmane.linux....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-20 09:14 UTC by Michał Górny
Modified: 2023-12-14 09:00 UTC (History)
1 user (show)

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 2014-12-20 09:14:18 UTC
>>> Synchronization of repository 'gentoo' located in '/var/db/repositories/funtoo'...
>>> '/var/db/repositories/funtoo' not found, creating it.fatal: Not a git repository (or any of the parent directories): .git
>>> Cloning git repository from upstream into /var/db/repositories/funtoo...

Looks like we should at least silence that git error output. We could also try to get the no of messages down.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2014-12-20 15:05:53 UTC
The first line of message could depend on existence of repository:

>>> Synchronization of repository '${name}' to be located in '${location}'...

>>> Synchronization of repository '${name}' located in '${location}'...
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-12-20 16:48:29 UTC
>>> Synchronizing repository '${name}' to '${location}'...

Simpler and seems to cover both cases.
Comment 3 Oleh 2014-12-20 17:47:12 UTC
looks better :) as all of these message make no real sense because portage tree not exist yet
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-01-17 13:56:54 UTC
In review:
http://article.gmane.org/gmane.linux.gentoo.portage.devel/5089

The result being:

>>> Syncing repository 'sunrise' into '/var/db/repos/sunrise'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for sunrise
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-01-17 13:57:35 UTC
Plus the one for the extra git noise: http://article.gmane.org/gmane.linux.gentoo.portage.devel/5087
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-14 09:00:43 UTC
commit e6777b92a3c4aa1d23ccb868146a71336b29cf8a
Author: Michał Górny <mgorny@gentoo.org>
Date:   Sat Jan 17 14:29:30 2015 +0100

    sync: unify syncing messages and reduce noise

    Print single ">>> Syncing repository '%s' into '%s'..." before syncing,
    and single "=== Sync completed for %s" after successful sync.

    Remove duplicate in-module clone/pull messages. Instead, verbosely print
    git commands executed.

    Remove useless verbosity in pre-sync mkdir.