Package: github-backup
Version: 1.20120627
Severity: wishlist

I tried github-backup on the whohas repo and I noticed that the repo
file has all of its content on one big line. That is not particularly
easy to read and since it is all on one line, if any part of it changes,
then the diff will not be useful to humans. Please pretty-print the repo
file and any other one-line files, as you do for the watchers file.

pabs@chianamo ~ $ grep whohas .mrconfig 
[devel/misc/whohas]
checkout = git clone 'git://github.com/whohas/whohas.git' 'whohas'
pabs@chianamo ~ $ git clone git://github.com/whohas/whohas.git
Cloning into 'whohas'...
warning: You appear to have cloned an empty repository.
pabs@chianamo ~ $ cd whohas/
pabs@chianamo ~/whohas (master #) $ github-backup 
Gathering metadata for git://github.com/whohas/whohas.git ...
[github (root-commit) beec608] github-backup
 3 files changed, 10 insertions(+)
 create mode 100644 whohas_whohas/forks
 create mode 100644 whohas_whohas/repo
 create mode 100644 whohas_whohas/watchers
error: pathspec 'master' did not match any file(s) known to git.
github-backup: git checkout [Param "-q",Param "--force",Param "master"] failed
pabs@chianamo ~/whohas (github *) $ git checkout github 
D       whohas_whohas/forks
D       whohas_whohas/repo
D       whohas_whohas/watchers
Already on 'github'
pabs@chianamo ~/whohas (github *) $ git reset --hard HEAD 
HEAD is now at beec608 github-backup
pabs@chianamo ~/whohas (github) $ head whohas_whohas/repo 
Repo {repoSshUrl = "g...@github.com:whohas/whohas.git", repoDescription = Just 
"", repoCreatedAt = GithubDate {fromGithubDate = 2011-12-01 14:02:56 UTC}, 
repoHtmlUrl = "https://github.com/whohas/whohas";, repoSvnUrl = 
"https://github.com/whohas/whohas";, repoForks = 0, repoHomepage = Just 
"http://www.philippwesche.org/200811/whohas/intro.html";, repoFork = False, 
repoGitUrl = "git://github.com/whohas/whohas.git", repoPrivate = False, 
repoCloneUrl = "https://github.com/whohas/whohas.git";, repoSize = 0, 
repoUpdatedAt = GithubDate {fromGithubDate = 2012-09-13 00:23:05 UTC}, 
repoWatchers = 1, repoOwner = GithubUser {githubOwnerAvatarUrl = 
"https://secure.gravatar.com/avatar/ca3d4390ce1f635fa368544e9560ff5b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png";,
 githubOwnerLogin = "whohas", githubOwnerUrl = 
"https://api.github.com/users/whohas";, githubOwnerId = 1233557, 
githubOwnerGravatarId = "ca3d4390ce1f635fa368544e9560ff5b"}, repoName = 
"whohas", repoLanguage = Nothing, repoMasterBranch = Just "master", 
repoPushedAt = Nothing, repoId = 2891441, repoUrl = 
"https://api.github.com/repos/whohas/whohas";, repoOpenIssues = 0, repoHasWiki = 
Just False, repoHasIssues = Just False, repoHasDownloads = Just 
True}pabs@chianamo ~/whohas (github) $ head whohas_whohas/
pabs@chianamo ~/whohas (github) $ head whohas_whohas/watchers 
[ GithubUser
    { githubOwnerAvatarUrl = 
"https://secure.gravatar.com/avatar/ca3d4390ce1f635fa368544e9560ff5b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png";
    , githubOwnerLogin = "whohas"
    , githubOwnerUrl = "https://api.github.com/users/whohas";
    , githubOwnerId = 1233557
    , githubOwnerGravatarId = "ca3d4390ce1f635fa368544e9560ff5b"
    }

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages github-backup depends on:
ii  libc6     2.13-35
ii  libffi5   3.0.10-3
ii  libgmp10  2:5.0.5+dfsg-2
ii  zlib1g    1:1.2.7.dfsg-13

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to