How to get code from my computer to my PinePhone
#1
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.
#2
(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?
#3
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
#4
You could also install wifitransfer in your UBtouch phone and transfer via ftp.

Verstuurd vanaf mijn Wileyfox Swift met Tapatalk
#5
(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?
#6
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
#7
[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
#8
(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
#9
(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
#10
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


Possibly Related Threads…
Thread Author Replies Views Last Post
  ADB support on Pinephone Sumwun 3 1,020 09-27-2023, 04:04 PM
Last Post: Sumwun
  Ubuntu Touch vs Standard Pinephone OS MarsColonist 8 6,146 06-26-2023, 07:50 AM
Last Post: gregb49
  PinePhone and PinePhone Pro 20.04 Focal Install and Update c3l@ 0 825 05-12-2023, 05:06 AM
Last Post: c3l@
  Reinstall Ubuntu Touch on PinePhone with 10 drives? Peter Gamma 4 3,004 05-24-2022, 06:42 AM
Last Post: Peter Gamma
  PinePhone UBPorts Edition stuck on PINE64 logo screen Giovanni Iannotti 4 5,101 09-01-2021, 01:20 PM
Last Post: Giovanni Iannotti
  Images won't boot past pinephone logo remington_luger 9 9,933 08-22-2021, 09:56 AM
Last Post: remington_luger
  GhostCloud workaround for PinePhone mark1250 1 3,302 08-12-2021, 02:53 AM
Last Post: Uturn
  Looks like I found a mild reason why UBPorts for pinephone hasn't seen much progress. plainenough 13 17,996 11-21-2020, 06:30 PM
Last Post: Nooblife
  "No network" on new UBPorts community edition pinephone professorsnapper 6 8,101 10-19-2020, 10:27 PM
Last Post: htc_tattoo
  Horrible energy consume on Pinephone/UB-Touch firefox-58 9 11,909 10-15-2020, 12:28 PM
Last Post: plainenough

Forum Jump:


Users browsing this thread: 1 Guest(s)