PINE64
How to get code from my computer to my PinePhone - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: UBPorts on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=125)
+---- Thread: How to get code from my computer to my PinePhone (/showthread.php?tid=10678)

Pages: 1 2


How to get code from my computer to my PinePhone - ragreenburg - 07-15-2020

I have been working on a QML program and have been obviously doing it on my computer but my PinePhone won't let me log into GitLab and will let me log into GitHub but won't let me download my code. Any idea on how to transfer my code over to my PinePhone? I was thinking of doing a libertine container for git but that isn't working right now unfortunately.


RE: How to get code from my computer to my PinePhone - somken - 07-15-2020

(07-15-2020, 10:22 AM)ragreenburg Wrote: I have been working on a QML program and have been obviously doing it on my computer but my PinePhone won't let me log into GitLab and will let me log into GitHub but won't let me download my code. Any idea on how to transfer my code over to my PinePhone? I was thinking of doing a libertine container for git but that isn't working right now unfortunately.

git clone with an ssh key?


RE: How to get code from my computer to my PinePhone - hiimtye - 07-15-2020

curl and wget work in the terminal, just curl the code you need

alternately you can use ssh to transfer files from your pc to your phone


How to get code from my computer to my PinePhone - davidbe - 07-15-2020

You could also install wifitransfer in your UBtouch phone and transfer via ftp.

Verstuurd vanaf mijn Wileyfox Swift met Tapatalk


RE: How to get code from my computer to my PinePhone - ragreenburg - 07-16-2020

(07-15-2020, 11:56 AM)somken Wrote:
(07-15-2020, 10:22 AM)ragreenburg Wrote: I have been working on a QML program and have been obviously doing it on my computer but my PinePhone won't let me log into GitLab and will let me log into GitHub but won't let me download my code. Any idea on how to transfer my code over to my PinePhone? I was thinking of doing a libertine container for git but that isn't working right now unfortunately.

git clone with an ssh key?
Thanks, I will look into that. For some reason I was under the impression that people were having a hard time using ssh on the PinePhone with UT.

(07-15-2020, 11:11 PM)davidbe Wrote: You could also install wifitransfer in your UBtouch phone and transfer via ftp.

Verstuurd vanaf mijn Wileyfox Swift met Tapatalk
If you don't mind me asking, how would I do that? I am new to UT so I am not sure how to install stuff that isn't in the app store.

(07-15-2020, 02:48 PM)hiimtye Wrote: curl and wget work in the terminal, just curl the code you need

alternately you can use ssh to transfer files from your pc to your phone
I didn't even think of that. Would I just curl the github repo?


RE: How to get code from my computer to my PinePhone - hiimtye - 07-16-2020

you just curl the download link in the github page. I believe that curl's default is to display it, so you would do something like
curl your.github/downloadlink > yourcodefile.sh


RE: How to get code from my computer to my PinePhone - davidbe - 07-17-2020

[quote pid='72117' dateline='1594932066']
(07-15-2020, 11:11 PM)davidbe Wrote: You could also install wifitransfer in your UBtouch phone and transfer via ftp.

Verstuurd vanaf mijn Wileyfox Swift met Tapatalk
If you don't mind me asking, how would I do that? I am new to UT so I am not sure how to install stuff that isn't in the app store.
[/quote]

WifiTransfer is available in the app store: https://open-store.io/app/wifitransfer.costa


RE: How to get code from my computer to my PinePhone - somken - 07-18-2020

(07-16-2020, 02:41 PM)ragreenburg Wrote:
(07-15-2020, 11:56 AM)somken Wrote:
(07-15-2020, 10:22 AM)ragreenburg Wrote: I have been working on a QML program and have been obviously doing it on my computer but my PinePhone won't let me log into GitLab and will let me log into GitHub but won't let me download my code. Any idea on how to transfer my code over to my PinePhone? I was thinking of doing a libertine container for git but that isn't working right now unfortunately.

git clone with an ssh key?
Thanks, I will look into that. For some reason I was under the impression that people were having a hard time using ssh on the PinePhone with UT.


I think the issue is when trying to ssh into the phone. I was able to get it set up using the sticky post. SSH keys work fine for me


RE: How to get code from my computer to my PinePhone - ragreenburg - 07-18-2020

(07-17-2020, 01:50 AM)davidbe Wrote: [quote pid='72117' dateline='1594932066']
(07-15-2020, 11:11 PM)davidbe Wrote: You could also install wifitransfer in your UBtouch phone and transfer via ftp.

Verstuurd vanaf mijn Wileyfox Swift met Tapatalk
If you don't mind me asking, how would I do that? I am new to UT so I am not sure how to install stuff that isn't in the app store.

WifiTransfer is available in the app store: https://open-store.io/app/wifitransfer.costa
[/quote]
Thanks for that!

(07-16-2020, 05:00 PM)hiimtye Wrote: you just curl the download link in the github page. I believe that curl's default is to display it, so you would do something like
curl your.github/downloadlink > yourcodefile.sh
Thanks for the help though it seems as though curl isn't installed by default on UT


RE: How to get code from my computer to my PinePhone - hiimtye - 07-18-2020

I could have sworn that either curl or wget were installed by default.

no matter

su
mount -o rw,remount /
apt install curl wget

et voila