[web2py] Re: Access to github book repositoy
for step by step example in terminal (after you fork web2py on github) : Change : - path with your own path - githubuser with your github username - fix_memcache_appadmin with your new branch name - the code with your modified one - comment with your title comment 1. Fork repository mkdir ~/git 2. cd ~/git git clone --recursive https://github.com/githubuser/web2py.git cd web2py 3. List the current configured remote repository for your fork git remote -v 4. Specify a new remote upstream repository that will be synced with the fork git remote add upstream https://github.com/web2py/web2py.git 5. Verify the new upstream repository you've specified for your fork git remote -v 6. Fetch the branches and their respective commits from the upstream repository git fetch upstream 7. Check out your fork's local master branch git checkout master 8. Merge the changes from upstream/master into your local master branch git merge upstream/master 9. Create the branch on your local machine git checkout -b fix_memcache_appadmin 10. Change working branch git checkout fix_memcache_appadmin 11. Add the code in gluon/contrib/memcache/__init__.py class MemcacheClientObj(Client): def initialize(self): pass 12. Commit the change with a clear message git commit -am "appadmin can use ccache with cache.ram = cache.disk = cache.memcache" 13. Push only the new branch git push origin fix_memcache_appadmin best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Access to github book repositoy
Please review http://web2py.com/books/default/chapter/29/15/helping-web2py#Preparation--using-GitHub. It looks like you are attempting to push commits directly to the web2py book repo. Instead, you should create your own fork of the repo, create a new branch within your fork, push the changes back to your own fork, and then make a pull request from your fork to the web2py repo. Anthony On Thursday, September 14, 2017 at 11:01:58 AM UTC-4, Bernhard Radermacher wrote: > > I tried to upload a small correction to the book as described in chapter > 15 but got the following error: > > $ git push origin [...] > ERROR: Permission to web2py/web2py-book.git denied to [...]. > fatal: Could not read from remote repository. > > Please make sure you have the correct access rights > and the repository exists. > > Please advice. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.