readme: clarify build instructions #167
No reviewers
Labels
No Label
android
arch
backlog
blocked-on-external
bug
bugbash
component/bindings
component/bine
component/connectivity
component/cwtch
component/tapir
component/ui
cwtch-1.14
cwtch-1.15
cwtch-beta-1.1
cwtch-beta-1.10
cwtch-beta-1.11
cwtch-beta-1.12
cwtch-beta-1.13
cwtch-beta-1.2
cwtch-beta-1.3
cwtch-beta-1.4
cwtch-beta-1.5
cwtch-beta-1.5.x
cwtch-beta-1.6
cwtch-beta-1.7
cwtch-beta-1.8
cwtch-beta-1.9
design
duplicate
enhancement
flutter
funding-needed
help wanted
hybrid-groups
in-nightly
in-progress
invalid
ios
linux
mac
need-replication-or-investigation
ops
packaging
post-stable
question
questionable
requires-more-effort-than-we-can-spare
rust
scheduled
stable-blocker
tails
testing-needed
tests
tor
waiting-on-fix-confirmation
waiting-on-new-flutter-feature
whonix
windows
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/cwtch-ui#167
Loading…
Reference in New Issue
No description provided.
Delete Branch "mal/cwtch-ui:readme-details"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I had to read the CI stuff and flutter docs to figure out what I was doing wrong >.<
I tried to keep it simple but clarify run vs build where I knew or could guess how, but I can't look at it fresh.
@ -31,2 +29,4 @@
You will probably want to disable Analytics on the Flutter Tool: `flutter config --no-analytics`
If the build fails, you may need to switch to a beta or newer release channel with
`flutter channel beta; flutter upgrade`.
ah yeah we're on the dev channel :)
Should I suggest
dev
, or is "beta or newer" sufficient?Interestingly, I originally had a
:thumbsup:
emoji at the beginning of that comment, and gitea reliably HTTP 500'd. Removing it worked. Seems to happen with other emoji too.ETA: It only seems to happen with the real emoji in the text field - a literal e.g.
:thumbsup:
seems to be successfully stored as-is and replaced on output 🤷ETA more: Possibly a MySQL db/table using utf8 instead of utf8mb4?
this gitea instance has been through some upgrades and migrations. not entirely shocked there may be a schema problem in some table
but yeah reccomend dev for now as that's what we're sticking with
@ -33,0 +33,4 @@
Once flutter is set up, run `flutter pub get` from this project folder to fetch dependencies.
If you are building a release version, you'll need to add something like the following to the `flutter build` commands below:
might want to explain what a release build is (why it's different) which is building a local "dev" copy like this normally we use $CWTCH_HOME/dev/ for the profiles and the only way to make it use the $CWTCH_HOME is "release build" with these variables defined
@ -38,0 +43,4 @@
- copy `libCwtch-go.so` to `linux/`, or run `fetch-libcwtch-go.sh` to download it
- set `LD_LIBRARY_PATH="$PWD/linux"`
- copy a `tor` binary to `linux/` or run `fetch-tor.sh` to download one
- set `PATH="$PATH:$PWD/linux`
shoot was this neccesary? i guess i have tor installed on my system and assumed the pathing grabbed it from here for those who didn't. In this case it might be better to add another
if ( path check ) { }
to the tor bundled detection code in lib/cwtch/ffi.dart rather than having ppl set the path?I kept it because it was there before, but cwtch does find linux/tor without changing $PATH as long as $PWD is the project root. Will remove.
bc24c7f3c7/lib/cwtch/ffi.dart (L102)
@ -38,0 +44,4 @@
- set `LD_LIBRARY_PATH="$PWD/linux"`
- copy a `tor` binary to `linux/` or run `fetch-tor.sh` to download one
- set `PATH="$PATH:$PWD/linux`
- run `flutter config --enable-linux-desktop` if you've never done so before
the docs weren't super clear here, I thought this was just an operation that had to be done once to the repo project to auto gen files under
linux/
and not per checkout for each devUntil I did the --enable,
flutter run
gave "No devices found with name or id matching 'linux'" - so it seems to be a global flutter config option. I used archlinux AURflutter
/flutter-beta
packages though, so it's possible those have different defaults.eeeesh, ah well, cool!
sorry it's taken a week to get to these, it's unearthed that our Drone CI setup can't build other repo forks so even tho this is just a text update PR and your other one is a simple shell change, I'm not diving into fixing that as a prerequisite. -_-;
No worries. Thank you for your work on the project!
cool, just update the channel to dev and I think this is good to go!
bab5ff4d41
tod85aac0a13