-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite VVV Instructions #598
Comments
Also VVV doesn't include anymore ruby |
Hello there, I'm absolutely not able to document anything about VVV. Labeling as help wanted and the wiki should be editable by everyone so I hope some VVV user will take over on this one :) Thanks for reporting. |
This will require some development steps to complete, a utility needs to be created that installs/updates |
Ok, since, as far as I understand, supporting the (new?) official way of installing things is a matter of setup an ad hoc project, this is out of the scope of Wordmove itself. I've updated the documentation present on this wiki with a big deprecation warning and a reference to this issue in order to bring interested users on the additional info. With this info added, I consider the bug in our documentation solved. Cheers |
@pioneerskies we came here because one of your users wanted help understanding your docs, we noticed it was advising what it should say.
This is not true. I think there has been a misunderstanding. The tool isn't installed on a per site basis, I'm not sure why the docs ever suggested it be added to a single site provisioner in the first place. VVV just needs a single script to install it system-wide. That script has already been written and put in the exisitng wiki docs VVV needs a git repo containing a folder with a As for what goes in # Rubygems update
if [ $(gem -v|grep '^2.') ]; then
echo "gem installed"
else
apt-get install -y ruby-dev
echo "ruby-dev installed"
echo "gem not installed"
gem install rubygems-update
update_rubygems
fi
# wordmove install
wordmove_install="$(gem list wordmove -i)"
if [ "$wordmove_install" = true ]; then
echo "wordmove installed"
else
echo "wordmove not installed"
gem install wordmove
wordmove_path="$(gem which wordmove | sed -s 's/.rb/\/deployer\/base.rb/')"
if [ "$(grep yaml $wordmove_path)" ]; then
echo "can require yaml"
else
echo "can't require yaml"
echo "set require yaml"
sed -i "7i require\ \'yaml\'" $wordmove_path
echo "can require yaml"
fi
fi |
Related ot welaika#598
@pioneerskies I've created a PR that basically does what we suggested should be done, it was a simple copy pasta. I don't mind if you don't intend to personally support VVV, but you have 2 VVV core developers here offering help for something super low hanging that once implemented is completely finished and resolved. |
This is the real misunderstanding in my honest opinion.
And this is a hasty assumption. I can't get how you are envisioning the ecosystem. My doubt as mainteiner - not as supporter, nor user, nor developer - is why a command line utility should take on its shoulders and in its repository the configuration needed to be installed inside a specific environment. For example I also maintain the wordmove's docker image, but I manage the configurations needed to install Wordmove into Alpine Linux in a separated, standalone repository. Wordmove exposes itself to the public through rubygems.org and as Wordmove's maintainer I've the responsibility to publish the gem there in order to make it easilly installable everywhere. That said every environment has its own caveats, dependencies, gotchas. I cannot takeover as the maintainer of every configuration script out there. Not because I'm not supporting all those cool OSS projects, but simply because supporting does not mean necessarily to publish and maintain the code needed to install this piece of software into another one. It's not in my mindset to bind me and future maintainers of Wordmove to the need to know what that script is doing, just like I do with docker images. And to be more subjective, I don't want the responsibility to maintain something that I can't understand, thus on which I cannot give support to final users, just because when i wrote it it was just a simple copy paste. I can't see how the transition from a user-contributed wiki page to a hosted config script could appear so natural. I hope to have spotted out my point of view more clearly. That said:
Let me know if something fits with your intent and to propose other matters of discussion. Cheers |
We've recently started discussing this, ironically the biggest obstacle is naming. We don't want to imply we're supporting anything and everything or choosing favourites, or that we maintain it ourselves
hmmm can you ellaborate? Do you mean registering a
I did wonder why it did this 🤔 I wonder if this is necessary, I just ported the instructions from the wiki For understanding what it needs to do, it's just a bash script that installs wordmove on an ubuntu/debian type system. E.g. it would work on my Digital Ocean VPS the same. The only VVV specific part is changing the config and knowing how to acquire it which is sorted already. I do have some questions though:
If once all of this is done you put a disclaimer saying something like Last known to work at X/Y/2020, mileage may vary, I'd understand :) |
Yeah, I know that feel; and that's why I think that should be evident that it would be an index of community contributed utilities. For the same sake I said
what I meant to say was more or less what you sentenced:
I'd write the disclaimer in a friendly manner, encouraging people to require an access as contributor and promoting the research of a maintainer. At the same time I have for sure to say that I cannot guarantee any maintenence on the script by myself or by my organization. The repositoy would be Reading what you said
I'd like to give my personal one-time contribution updating the script we have in out wiki with a more modern and savvy - or simpler at least - approach. In order to do that I'd like to ask you some informations:
Replying to you questions:
Having a standalone repo we can strictly adhere to the standard, so
I don't know if you have to deal with different gems; if the implementation should be just for wordmove, I think you should delegate all the responsibilities to the utility. Moreover Wordmove has peer - I mean external - dependencies: Installing a single gem does not require to have rake nor bundler. The gem self-contain all the ruby dependencies it needs and download it through rubygems, just like an npm module would do. One fact is that Wordmove actually supports ruby >=2.6 and the utility has to be sure to install a supported version. Well, that's all I think. I'm looking forward to hear back some info from you ;) Thanks in advance |
Ubuntu 18.04 Bionic LTS, at some point in the future we'd switch to 20 LTS but an Ubuntu-Debian type system is a safe assumption
I believe so
No, but it can be, Varying-Vagrant-Vagrants/VVV#2137
Yes!
Yes!
It isn't installed by default:
That's very good to know, in which case the packages feature might be the best path forward for all there :D ( Varying-Vagrant-Vagrants/VVV#2135 ) I don't think we'd have come upon that as a possible solution without your help |
Some notes:
|
hey @tomjn , I've been a bit burned out by job; I've not forgot this task, but I'll probably take a "free" weekend. Thanks for your replies in the meantime 🎉 |
No worries, I had eye surgery so I’m a little out of it myself
…On Sat, 2 May 2020 at 18:48, Alessandro Fazzi ***@***.***> wrote:
hey @tomjn <https://github.com/tomjn> ,
I've been a bit burned out by job; I've not forgot this task, but I'll
probably take a "free" weekend. Thanks for your replies in the meantime 🎉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#598 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAOLZ7LO6KJCYM5O22VGE3RPRMHDANCNFSM4MO5RVUQ>
.
|
Hey, better later than never: https://github.com/welaika/vvv-wordmove :) Let me know if it sounds good. I've also added a note on the wiki page. At the moment the provisioner 100% reflects the one in the PR |
I will test it monday :-D |
I consider it tested and updated, so I'm going to close this one :) I'll always be happy to help where/when I can. Thanks for support and best luck. |
Yes, in case we can do a pr to the provisioner if needed :-) |
Describe the bug
The Wiki describes install instructions for VVV, but these are manual instructions that would need to be redone on every new VM, and don't use the official way to install things
Expected behavior
Instructions on how to add a utility to
config/config.yml
that installs wordmovehttps://varyingvagrantvagrants.org/docs/en-US/utilities/
Literally just create a repo, put a
wordmove/provision.sh
in it, fill it with the code snippet from the wiki, then tell users to add it to theirconfig/config.yml
The text was updated successfully, but these errors were encountered: