Giter VIP home page Giter VIP logo

boilerplate-grav's People

Contributors

achekulaev avatar dependabot[bot] avatar shelane avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

boilerplate-grav's Issues

.docksal/commands/init: line 52: warning: command substitution: ignored null byte in input You have unsaved local changes

This is more a question out of curiousity...why is the following warning occuring when running fin project create

/home/myhome/sandbox/gravtest/.docksal/commands/init: line 52: warning: command substitution: ignored null byte in input
  You have unsaved local changes

Full log below

Enter your choice (0-18): 13

Project folder:   /home/myhome/sandbox/gravtest
Project software: Grav CMS
Source repo:      https://github.com/docksal/boilerplate-grav.git
Project URL:      http://gravtest.docksal

Do you wish to proceed? [y/n]: y
Cloning repository...
Cloning into 'gravtest'...
remote: Enumerating objects: 4833, done.
remote: Counting objects: 100% (4833/4833), done.
remote: Compressing objects: 100% (3854/3854), done.
remote: Total 4833 (delta 949), reused 3526 (delta 686), pack-reused 0
Receiving objects: 100% (4833/4833), 8.48 MiB | 3.70 MiB/s, done.
Resolving deltas: 100% (949/949), done.

3. Passing execution to fin init...

/home/myhome/sandbox/gravtest/.docksal/commands/init: line 52: warning: command substitution: ignored null byte in input
  You have unsaved local changes
  Re-install is going to remove them.
  See git status for details.
Continue? (y/n): 

Unlock boilerplate

It would be really great if we don't need to commit the vendor directory and keep the lock file up-to-date so that whenever a user initiates a new project from this boilerplate, they will get the latest packages available based on composer version/package requirements. This may be occasionally updating the composer.json file, but that is far less onerous.

I attempted to do this locally, but got the error:

Loading composer repositories with package information                                                                                                                                             GitHub API limit (0 calls/hr) is exhausted, could not fetch https://api.github.com/repos/getgrav/PHP-Markdown-Documentation-Generator/contents/composer.json?ref=8ae1f878ec6f8045899a9bc50029dada1017d616. Create a GitHub OAuth token to go over the API rate limit. You can also wait until ? for the rate limit to reset.

When working with _public_ GitHub repositories only, head to https://github.com/settings/tokens/new?scopes=&description=Composer+on+cli+2022-04-23+1735 to retrieve a token.
This token will have read-only permission for public information only.
When you need to access _private_ GitHub repositories as well, go to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+cli+2022-04-23+1735
Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer.
Tokens will be stored in plain text in "/home/docker/.composer/auth.json" for future use by Composer.
For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth
Token (hidden): 
Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/local/bin/composer2/src/Composer/Util/GitHub.php:104
No token given, aborting.
You can also add it manually later by using "composer config --global --auth github-oauth.github.com <token>"
                                             
  [Composer\Downloader\TransportException]   
  Could not authenticate against github.com  

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.