class_docstr: Create a dataset sibling on a GOGS site
  
  GOGS is a self-hosted, free and open source code hosting solution with
  low resource demands that enable running it on inexpensive devices like
  a Raspberry Pi, or even directly on a NAS device.
  
  In order to be able to use this command, a personal access token has to be
  generated on the platform
  (Account->Your Settings->Applications->Generate New Token).
  
  This command can be configured with
  "datalad.create-sibling-ghlike.extra-remote-settings.NETLOC.KEY=VALUE" in
  order to add any local KEY = VALUE configuration to the created sibling in
  the local `.git/config` file. NETLOC is the domain of the Gogs instance to
  apply the configuration for.
  This leads to a behavior that is equivalent to calling datalad's
  ``siblings('configure', ...)``||``siblings configure`` command with the
  respective KEY-VALUE pair after creating the sibling.
  The configuration, like any other, could be set at user- or system level, so
  users do not need to add this configuration to every sibling created with
  the service at NETLOC themselves.
  
  .. versionadded:: 0.16
class_docstr_tok: ["Create","a","dataset","sibling","on","a","GOGS","site","GOGS","is","a","self-hosted",",","free","and","open","source","code","hosting","solution","with","low","resource","demands","that","enable","running","it","on","inexpensive","devices","like","a","Raspberry","Pi",",","or","even","directly","on","a","NAS","device",".","In","order","to","be","able","to","use","this","command",",","a","personal","access","token","has","to","be","generated","on","the","platform","(","Account-",">","Your","Settings-",">","Applications-",">","Generate","New","Token",")",".","This","command","can","be","configured","with","''","datalad.create-sibling-ghlike.extra-remote-settings.NETLOC.KEY=VALUE","''","in","order","to","add","any","local","KEY","=","VALUE","configuration","to","the","created","sibling","in","the","local","`",".git\/config","`","file",".","NETLOC","is","the","domain","of","the","Gogs","instance","to","apply","the","configuration","for",".","This","leads","to","a","behavior","that","is","equivalent","to","calling","datalad's","``","siblings","(","'configure","'",",","...",")","``","||","``","siblings","configure","``","command","with","the","respective","KEY-VALUE","pair","after","creating","the","sibling",".","The","configuration",",","like","any","other",",","could","be","set","at","user-","or","system","level",",","so","users","do","not","need","to","add","this","configuration","to","every","sibling","created","with","the","service","at","NETLOC","themselves",".","..","versionadded",":",":","0.16"]
code: def __call__(
      reponame,
      *,
      # possibly retrieve a default from config
      api=None,
      dataset=None,
      recursive=False,
      recursion_limit=None,
      name=None,
      existing="error",
      credential=None,
      access_protocol="https",
      publish_depends=None,
      private=False,
      description=None,
      dry_run=False,
  ):
      yield from _create_sibling(
          platform=_GOGS(api, credential, require_token=not dry_run),
          reponame=reponame,
          dataset=dataset,
          recursive=recursive,
          recursion_limit=recursion_limit,
          name=name,
          existing=existing,
          access_protocol=access_protocol,
          publish_depends=publish_depends,
          private=private,
          description=description,
          dry_run=dry_run,
      )
  
file_path: datalad/datalad/distributed/create_sibling_gogs.py
imports: import logging
  from urllib.parse import urlparse
  from datalad.distributed.create_sibling_ghlike import _create_sibling, _GitHubLike
  from datalad.distribution.dataset import datasetmethod
  from datalad.interface.base import Interface, build_doc, eval_results
label_desc: Use image node_id 1 for calling the CreateSiblingGogs obj's underlying member method code with example usage: obj.__call__(reponame) without return types