kachkaev / kachkaevassetsversionbundle Goto Github PK
View Code? Open in Web Editor NEWAutomates the process of updating assets version in Symfony2 & Symfony3 projects
License: MIT License
Automates the process of updating assets version in Symfony2 & Symfony3 projects
License: MIT License
If my assets_version is at the last line of parameters.yml
:
parameters:
...
assets_version: 15
The $this->versionStartPos
could return a undesirable result.
The regular expression on line "https://github.com/kachkaev/KachkaevAssetsVersionBundle/blob/master/AssetsVersionManager.php#L161" does not find the parameter when its value is in quotes:
assets_version: 'v000'
My file "parameters.yml" is automatically generated within the application in the deployment process and the values of each parameter is in quotes.
Sorry for my bad English.
Wow, thank you so much for this bundle!
I'm wondering if you could possibly release a stable version (even just a 0.1) so that I don't have the set composer's minimum stability to "dev" in order to use it.
Thanks again!
The service "kachkaev_assets_version.assets_version_manager" has a dependency on a non-existent parameters "kachkaev_assets_version.filename" and "kachkaev_assets_version.parametername".
It must be "kachkaev_assets_version.file_path" and "kachkaev_assets_version.parameter_name".
ParameterNotFoundException: The service "kachkaev_assets_version.assets_version_manager" has a dependency on a non-existent parameter "kachkaev_assets_version.filename". Did you mean one of these: "kachkaev_assets_version.file_path", "kachkaev_assets_version.parameter_name"?
At the moment tag v1.0.1 is restricted to symfony < 2.3 but dev-master is ready for symfony < 3.0
Please init new tag v1.0.2
Hi, nice bundle ;)
What we would need is to set a generated random string as assets_version (could be a random hash string, 16-bit or 32-bit long).
So could you enhance your bundle with a "random-feature"? Something like this would be cool:
php app/console assets_version:set:random
(example) This will set assets_version to 9f37061554108afb4d884ee651585259
Our problem is, that we every time deploy a fresh release and our parameters.yml always still the same (until new parameters for new feature come in). So auto-increment doesn´t help us here. But we need a automated changing of assets_version. So generating a random hash string on every release would be our solution.
sorry for bad english;) Bye
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.