Can I install latest version of mPDF without SSH - mpdf

The doc of the latest version of mPDF on github suggest the only way to install it is by using composer. But how to do on a shared host without SSH access?
Is there an other way to install it? Or will it be? Or should I just continue to use the older version still available for download (but it looks no longer supported and no longer compatible with the latest version of PHP)?

The documentation on the main mPDF Github page is for development version. There still are ready-to-use packages for version 6.1.0 which can be uploaded and used as-is.
However, I would recommend installing mPDF via composer locally and then transfer the whole local installation to your server via FTP or whatever you use.
As the composer is de-facto standard for package management now, future versions of mPDF will not provide those pre-prepared packages anymore.

Related

Migrate Jforg repository from version 5.1.0 to newer version 7.x

I would like to replace a physical jfrog server with a virtual one with a newer version of jfrog.
But I want to move the old repositories, not all of them, just some.
Does anyone know how I can achieve that?
I am reading the documentation which doesn't recommend exporting and importing from two different versions.

Installing earlier version of R package not on CRAN

I am developing an R package that will not be hosted on GitHub or submitted to CRAN. I am using git for version control. I would like to give my users the ability to load older versions of the package. I've read here about usethis::use_version() for versioning my package. This will track the versions using git, but I'm wondering if there's a straightforward way for my end users to load an older version without having to use git themselves. For packages hosted on CRAN, I know the versions package can be used to achieve this.
Right now my best solution is to create a copy of the R package in a new directory when starting work on a new version. Then the end users can load the version they want by choosing the appropriate directory. If there is a better solutions than this, I would be interested to hear it.
The remotes::install_git() function has a ref= parameter when you type a commit or tag name. If you tag your releases, then you can install which ever version you want with the correct tag. Your users don't need to run git themselves, but they will need access to the git repo to pull the correct version.
If you want to host your own repository for your users, you can also look into something like miniCRAN or drat. Since those basically a CRAN-like repository for your packages, you can probably use existing tools like the versions package to interact with the repo (assuming you keep older versions around in the same way CRAN does).

Installing atom packages with dependencies whilst offline

I've just joined a new office and their security is very tight. Essentially, we cannot go online without connecting to another machine. This means any applications that attempt to connect online won't connect to anything.
I'm trying to set up atom for python development (I've not used atom before and it's all that available to me!) - but the lack of internet is causing an issue.
I understand that to install a package, I can download it from github, and extract it to ~/.atom/packages - and this works! But what do I do with packages with dependencies that haven't been downloaded? Is there a simple way to get the package and the dependency whilst being offline?
I've also noticed that although my office has atom installed there's no 'apm' or 'npm' commands in the terminal...is this common?
thanks

R-Studio setup with offline CRAN repository in Windows

I would like to know what is the mchanism, if there is one, for setting up local CRAN repository in an environment that has no internet access. I have a windows environment but I would love to know if it can also be done in linux environment.
I have heard that I'll need to have a web browser to allow R-studio to find local repository. Not sure if it's true but I would like to find out all the steps to set this R-studio with local repository environemnt.
The idea is to have a fully fuunctional R-studio with full CRAN respository available in an offline environment where any package can be installed easily. I couldn't find any source/link available online that details how this can be achieved.
I know R-Studio is setting a package management tool that allows this functionality but I would like to get this done without spending any money.
I managed to solve this problem by creating a local webserver using Apache and then downloading full CRAN repository (win binaries only). I also had to edit my Rprofile.site file by providing the link to my local webserver.

Is There A Way To Install Unstable Version of Plugin via Built-in Plugin Installer

I'm wondering if there is a way to install an unstable version of a published plugin.
Let's say I updated my plugin version 1.0 to 1.1.
Then I put Stable tag: 1.0 in the readme.txt file so that everyone downloads the stable version v1.0.
Now my question is that if I want to test the unstable version on one of the remote servers, isn't it possible to install v1.1 with the built-in plugin installer?
I'm currently doing this way:
deactivate the old version
delete the plugin
upload the unstable version
activate it.
If the updating process could be shorten this way, it would really save my time.
search and find the plugin name to install in the Add New page.
click on the unstable version link.
Thanks for your information.
I'm not sure that this is the answer you are looking for but...
I was running into the same issue and instead what I have chosen to do is actually edit my plug-in on a "test-bed" site. I have a site that I test all of my modifications on before publishing and I access the files directly via FileZilla FTP Client.
This allows me to take the most up to date file from the server, edit it on my machine (using Notepad++) and upload the change to the server for testing. If it breaks the site in some way I can always re-upload the original via FTP and everything is back online.
Hope this helps!

Resources