#3920 Add a new git tree for FreeIPA docs
Closed: Fixed Opened by mkosek.

Project name: freeipa/docs.git

Project short summary: FreeIPA Documentation Project

SCM choice (git/bzr/hg/svn): git

Project admin Fedora Account System account name: mkosek

Would you like a Trac instance for your project?: (yes/no) no, please add the git to '''existing''' ''freeipa'' Trac instance.

Do you need a mailing list? If so, comma-separate a list of what you'd like them to be called. Otherwise, put "no": no, we will use existing freeipa-devel list.


Okay, repository is created.

The URL is ssh://git.fedorahosted.org/git/freeipa-docs.git

If you need anything else, don't hestitate to contact us.

Thanks for reply! However, it seems to me that the repo is not really OK:

{{{
$ git clone ssh://git.fedorahosted.org/git/freeipa-docs.git
Cloning into 'freeipa-docs'...
fatal: protocol error: bad line length character: Inva
}}}

I also do not see it in the list of fedorahosted git repos: https://git.fedorahosted.org/cgit/?q=freeipa

Okay, for some reason, the complete git repo had disappeared (the directory was removed).

I just recreated it, and it should work now (just tested it, and here it works).

Please do not hesitate to ping back when you need anything else.

It has been added to trac as well now, sorry had forgotten to do that the last time.

Thank you. I have one more favor to ask, I accidentally included generated doc in the initial commit, making the git repo unnecessarily big. Can you please help me revert it?

I cannot re-do it myself:

{{{
$ git push origin :master
remote: error: By default, deleting the current branch is denied, because the next
remote: error: 'git clone' won't result in any file checked out, causing confusion.
remote: error:
remote: error: You can set 'receive.denyDeleteCurrent' configuration variable to
remote: error: 'warn' or 'ignore' in the remote repository to allow deleting the
remote: error: current branch, with or without a warning message.
remote: error:
remote: error: To squelch this message, you can set it to 'refuse'.
remote: error: refusing to delete the current branch: refs/heads/master
To ssh://git.fedorahosted.org/git/freeipa-docs.git
! [remote rejected] master (deletion of the current branch prohibited)
error: failed to push some refs to 'ssh://git.fedorahosted.org/git/freeipa-docs.git'
}}}

Probably it would be enough to just set receive.denyDeleteCurrent to warn so that I can replace the master with proper commit.

Metadata