Skip to content

Commit

Permalink
fixes wrong (renamed) repository owner for cookiecutter-pypackage
Browse files Browse the repository at this point in the history
  • Loading branch information
ri0t committed Oct 19, 2021
1 parent d6037b7 commit 8b9b206
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Other Changes:
* Tests update: use sys.executable when invoking python in python 3 only environment thanks to [@vincentbernat](https://github.com/vincentbernat) (#1221)
* Prevent `click` API v7.0 from showing choices when already shown, thanks to [@rly](https://github.com/rly) and [@luzfcb](https://github.com/luzfcb) (#1168)
* Test the codebase with python3.8 beta on tox and travis-ci (#1206), thanks to [@mihrab34](https://github.com/mihrab34)
* Add a [CODE\_OF\_CONDUCT.md](https://github.com/audreyr/cookiecutter/blob/master/CODE_OF_CONDUCT.md) file to the project, thanks to [@andreagrandi](https://github.com/andreagrandi) (#1009)
* Add a [CODE\_OF\_CONDUCT.md](https://github.com/audreyfeldroy/cookiecutter/blob/master/CODE_OF_CONDUCT.md) file to the project, thanks to [@andreagrandi](https://github.com/andreagrandi) (#1009)
* Update docstrings in `cookiecutter/main.py`, `cookiecutter/__init__.py`, and `cookiecutter/log.py` to follow the PEP 257 style guide, thanks to [@meahow](https://github.com/meahow) (#998, #999, #1000)
* Update docstrings in `cookiecutter/utils.py` to follow the PEP 257 style guide, thanks to [@dornheimer](https://github.com/dornheimer)(#1026)
* Fix grammar in *Choice Variables* documentation, thanks to [@jubrilissa](https://github.com/jubrilissa) (#1011)
Expand Down Expand Up @@ -406,7 +406,7 @@ Other Changes:

* Enable py35 support on Travis by using Python 3.5 as base Python ([@maiksensi](https://github.com/maiksensi) / #540)
* If a filename is empty, do not generate. Log instead ([@iljabauer](https://github.com/iljabauer) / #444)
* Fix tests as per last changes in [cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage), thanks to [@eliasdorneles](https://github.com/eliasdorneles)(#555).
* Fix tests as per last changes in [cookiecutter-pypackage](https://github.com/audreyfeldroy/cookiecutter-pypackage), thanks to [@eliasdorneles](https://github.com/eliasdorneles)(#555).
* Removed deprecated cookiecutter-pylibrary-minimal from the list, thanks to [@ionelmc](https://github.com/ionelmc) (#556)
* Moved to using rualmel.yaml instead of PyYAML, except for Windows users on Python 2.7, thanks
to [@pydanny](https://github.com/pydanny) (#557)
Expand Down Expand Up @@ -681,7 +681,7 @@ Other changes:
# Create project from the cookiecutter-pypackage/ template
$ cookiecutter cookiecutter-pypackage/
# Create project from the cookiecutter-pypackage.git repo template
$ cookiecutter https://github.com/audreyr/cookiecutter-pypackage.git
$ cookiecutter https://github.com/audreyfeldroy/cookiecutter-pypackage.git
```

* Can now use Cookiecutter from Python as a package:
Expand All @@ -693,7 +693,7 @@ Other changes:
cookiecutter('cookiecutter-pypackage/')

# Create project from the cookiecutter-pypackage.git repo template
cookiecutter('https://github.com/audreyr/cookiecutter-pypackage.git')
cookiecutter('https://github.com/audreyfeldroy/cookiecutter-pypackage.git')
```

* Internal refactor to remove any code that changes the working
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/calling_from_python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can use Cookiecutter from Python::
cookiecutter('cookiecutter-pypackage/')

# Create project from the cookiecutter-pypackage.git repo template
cookiecutter('https://github.com/audreyr/cookiecutter-pypackage.git')
cookiecutter('https://github.com/audreyfeldroy/cookiecutter-pypackage.git')

This is useful if, for example, you're writing a web framework and need to
provide developers with a tool similar to `django-admin.py startproject` or
Expand Down
4 changes: 2 additions & 2 deletions docs/advanced/user_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Example user config:
cookiecutters_dir: "/home/audreyr/my-custom-cookiecutters-dir/"
replay_dir: "/home/audreyr/my-custom-replay-dir/"
abbreviations:
pp: https://github.com/audreyr/cookiecutter-pypackage.git
pp: https://github.com/audreyfeldroy/cookiecutter-pypackage.git
gh: https://github.com/{0}.git
bb: https://bitbucket.org/{0}
Expand All @@ -48,6 +48,6 @@ Possible settings are:
`abbr:suffix`. Any suffix will be inserted into the expansion in place of
the text `{0}`, using standard Python string formatting. With the above
aliases, you could use the `cookiecutter-pypackage` template simply by saying
`cookiecutter pp`, or `cookiecutter gh:audreyr/cookiecutter-pypackage`.
`cookiecutter pp`, or `cookiecutter gh:audreyfeldroy/cookiecutter-pypackage`.
The `gh` (github), `bb` (bitbucket), and `gl` (gitlab) abbreviations shown
above are actually built in, and can be used without defining them yourself.
2 changes: 1 addition & 1 deletion docs/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You must have:

Beyond that, you can have whatever files/directories you want.

See https://github.com/audreyr/cookiecutter-pypackage for a real-world example
See https://github.com/audreyfeldroy/cookiecutter-pypackage for a real-world example
of this.

Output
Expand Down
10 changes: 5 additions & 5 deletions docs/tutorial1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Case Study: cookiecutter-pypackage
boilerplate for a Python package.

.. note:: There are several variations of it, but for this tutorial we'll use
the original version at https://github.com/audreyr/cookiecutter-pypackage/.
the original version at https://github.com/audreyfeldroy/cookiecutter-pypackage/.

Step 1: Generate a Python Package Project
------------------------------------------
Expand All @@ -30,7 +30,7 @@ cookiecutter-pypackage's HTTPS clone URL like this:

.. code-block:: bash
$ cookiecutter https://github.com/audreyr/cookiecutter-pypackage.git
$ cookiecutter https://github.com/audreyfeldroy/cookiecutter-pypackage.git
Local Cloning of Project Template
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -99,7 +99,7 @@ Great, you just generated a skeleton Python package. How did that work?
Step 3: Observe How It Was Generated
------------------------------------

Let's take a look at cookiecutter-pypackage together. Open https://github.com/audreyr/cookiecutter-pypackage in a new browser window.
Let's take a look at cookiecutter-pypackage together. Open https://github.com/audreyfeldroy/cookiecutter-pypackage in a new browser window.

{{ cookiecutter.project_slug }}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -114,7 +114,7 @@ AUTHORS.rst
~~~~~~~~~~~

Look at the raw version of `{{ cookiecutter.project_slug }}/AUTHORS.rst`, at
https://raw.github.com/audreyr/cookiecutter-pypackage/master/%7B%7Bcookiecutter.project_slug%7D%7D/AUTHORS.rst.
https://raw.github.com/audreyfeldroy/cookiecutter-pypackage/master/%7B%7Bcookiecutter.project_slug%7D%7D/AUTHORS.rst.

Observe how it corresponds to the `AUTHORS.rst` file that you generated.

Expand Down Expand Up @@ -147,7 +147,7 @@ earlier during project generation:
Questions?
----------

If anything needs better explanation, please take a moment to file an issue at https://github.com/audreyr/cookiecutter/issues with what could be improved
If anything needs better explanation, please take a moment to file an issue at https://github.com/audreyfeldroy/cookiecutter/issues with what could be improved
about this tutorial.

Summary
Expand Down
10 changes: 5 additions & 5 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Grab a Cookiecutter template

First, clone a Cookiecutter project template::

$ git clone git@github.com:audreyr/cookiecutter-pypackage.git
$ git clone https://github.com/audreyfeldroy/cookiecutter-pypackage.git

Make your changes
-----------------
Expand Down Expand Up @@ -40,14 +40,14 @@ Works directly with git and hg (mercurial) repos too

To create a project from the cookiecutter-pypackage.git repo template::

$ cookiecutter gh:audreyr/cookiecutter-pypackage
$ cookiecutter gh:audreyfeldroy/cookiecutter-pypackage

Cookiecutter knows abbreviations for Github (``gh``), Bitbucket (``bb``), and
GitLab (``gl``) projects, but you can also give it the full URL to any
repository::

$ cookiecutter https://github.com/audreyr/cookiecutter-pypackage.git
$ cookiecutter git+ssh://git@github.com/audreyr/cookiecutter-pypackage.git
$ cookiecutter https://github.com/audreyfeldroy/cookiecutter-pypackage.git
$ cookiecutter git+ssh://git@github.com/audreyfeldroy/cookiecutter-pypackage.git
$ cookiecutter hg+ssh://hg@bitbucket.org/audreyr/cookiecutter-pypackage

You will be prompted to enter a bunch of project config values. (These are
Expand All @@ -58,7 +58,7 @@ that you entered. It will be placed in your current directory.

And if you want to specify a branch you can do that with::

$ cookiecutter https://github.com/audreyr/cookiecutter-pypackage.git --checkout develop
$ cookiecutter https://github.com/audreyfeldroy/cookiecutter-pypackage.git --checkout develop

Works with private repos
------------------------
Expand Down
6 changes: 3 additions & 3 deletions tests/repository/test_is_repo_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def test_is_zip_file(zipfile):
@pytest.fixture(
params=[
'gitolite@server:team/repo',
'git@github.com:audreyr/cookiecutter.git',
'https://github.com/audreyr/cookiecutter.git',
'git@github.com:audreyfeldroy/cookiecutter.git',
'https://github.com/cookiecutter/cookiecutter.git',
'git+https://private.com/gitrepo',
'hg+https://private.com/mercurialrepo',
'https://bitbucket.org/pokoli/cookiecutter.hg',
Expand Down Expand Up @@ -65,7 +65,7 @@ def test_is_repo_url_for_local_urls(local_repo_url):

def test_expand_abbreviations():
"""Validate `repository.expand_abbreviations` correctly translate url."""
template = 'gh:audreyr/cookiecutter-pypackage'
template = 'gh:audreyfeldroy/cookiecutter-pypackage'

# This is not a valid repo url just yet!
# First `repository.expand_abbreviations` needs to translate it
Expand Down
8 changes: 4 additions & 4 deletions tests/vcs/test_identify_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
),
('https://bitbucket.org/foo/bar.hg', 'hg', 'https://bitbucket.org/foo/bar.hg'),
(
'https://github.com/audreyr/cookiecutter-pypackage.git',
'https://github.com/audreyfeldroy/cookiecutter-pypackage.git',
'git',
'https://github.com/audreyr/cookiecutter-pypackage.git',
'https://github.com/audreyfeldroy/cookiecutter-pypackage.git',
),
(
'https://github.com/audreyr/cookiecutter-pypackage',
'https://github.com/audreyfeldroy/cookiecutter-pypackage',
'git',
'https://github.com/audreyr/cookiecutter-pypackage',
'https://github.com/audreyfeldroy/cookiecutter-pypackage',
),
(
'git@gitorious.org:cookiecutter-gitorious/cookiecutter-gitorious.git',
Expand Down

0 comments on commit 8b9b206

Please sign in to comment.