Closed moylop260 closed 1 year ago
Hello @antonag32
Do you have any news about this ticket?
Or maybe an expected date?
Regards
@luistorresm
Hello, I think I will make a PR for it today.
@antonag32
Be aware about the last review, please
Could you send a video with your local functional testing, please?
Yes, working on it
@hbto @luistorresm @deivislaya @ysantiago
Could you test the new feature using?
t2d --deployv --build-env-args=VIM_INSTALL REPO BRANCH
You even can use the alias
to set it next times
Notice you need to update the t2d pypi package to v6.4.1
Before to build you can double confirm checking the Dockerfile output:
You should see the following output:
cat .t2d/script/git_git.vauxoo.com_vauxoo_sbd.git/14.0/3_6/env_1_job_1/Dockerfile |grep VIM
ENV VIM_INSTALL=TRUE
It means, it is already configured and the vim plugins will be installed
I just tested and use the word "pdb" + tab and it was auto-filled
@antonag32
It is showing errors on install and warning opening python files
But it good for now
I will let it the issue opened in order to review it after
Hello @moylop260
I get this error when found a lint error:
@antonag32
Could you complement the t2d output message if VIM_INSTALL was not defined with:
vim spf13 is not configured, if you want it run t2d --build-env-args=VIM_INSTALL
@antonag32
Could you fix the following error, please?
[✔] Successfully cloned vundle.
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[✔] Now updating/installing plugins using Vundle
Thanks for installing spf13-vim.
© 2022 http://vim.spf13.com/
Cloning https://github.com/vauxoo/vim-openerp.git ...
Cloning https://github.com/davidhalter/jedi-vim.git ...
error: unknown switch `d'
usage: git clone [<options>] [--] <repo> [<dir>]
-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recursive[=<pathspec>]
initialize submodules in the clone
--recurse-submodules[=<pathspec>]
initialize submodules in the clone
-j, --jobs <n> number of submodules cloned in parallel
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
--reference-if-able <repo>
reference repository
--dissociate use --reference only while cloning
-o, --origin <name> use <name> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--shallow-since <time>
create a shallow clone since a specific time
--shallow-exclude <revision>
deepen history of shallow clone, excluding rev
--single-branch clone only one branch, HEAD or --branch
--no-tags don't clone any tags, and make later fetches not to follow them
--shallow-submodules any cloned submodules will be shallow
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
--server-option <server-specific>
option to transmit
-4, --ipv4 use IPv4 addresses only
-6, --ipv6 use IPv6 addresses only
--filter <args> object filtering
--remote-submodules any cloned submodules will use their remote-tracking branch
--sparse initialize sparse-checkout file to include only files at root
/bin/sh: 230: cd: can't cd to /home/odoo/.vim/bundle/YouCompleteMe
Cloning https://github.com/wakatime/vim-wakatime.git ...
ZSH_INSTALL is not defined. Skipping zsh installation.
Removing intermediate container 38a6fef5da55
---> d5e50af59c52
Step 19/21 : USER odoo
@antonag32
Is possible to fix the following one too, please?
[odoo@e1f6a53af9ef]~/instance/extra_addons/account-customer-invoice-split-discount/account_customer_invoice_split_discount/models$
(14.0)$ vim account_move.py
Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.
Press ENTER or type command to continue
@hbto
The pylint was fixed:
Note: You will need to update the t2d package
@hbto
The pylint was fixed:
* <img alt="Screen Shot 2022-10-21 at 14 23 36" width="1084" src="https://user-images.githubusercontent.com/6644187/197273859-b120b0b8-8cef-4d35-80e0-146be22e4085.png">
Note: You will need to update the t2d package
Thanks a lot I will check in my next cycle of t2d generation.
Regards.
@moylop260 the requested fixes are here: https://github.com/Vauxoo/travis2docker/pull/183
@antonag32
I don't know if something is wrong with this plugin or the version but opening a .py file it is raising the following errors and request press enter again and again:
Could you check it, please?
For record,
The installation process was fixed:
Thank you!
@antonag32
Could you complement the t2d output message if VIM_INSTALL was not defined with:
* `vim spf13 is not configured, if you want it run t2d --build-env-args=VIM_INSTALL`
There is a typo in the output.
Regards.
Done from https://github.com/Vauxoo/travis2docker/pull/185
IMHO this issue is ready
Let me know if not
For now, closing it
Continue of https://github.com/Vauxoo/travis2docker/issues/164 but for VIM custom installation
MQT was installing a custom VIM and it was working
We need to migrate the vim installation to new method to t2d:
But not all the devs are using VIM
There are other devs using VSCode or other IDEs
So, It could be great using the same behaviour than issue 164 related to only install this VIM + theme + configuration if a environment variable is defined and it is assigned from build-arg
Something lile
VIM_INSTALL