Fork me on GitHub
#braid-chat
<
2016-04-03
>
rafd01:04:53

hey folks! I'm curious as to your experience with Immutant and if you would recommend it: https://github.com/braidchat/meta/issues/380

grounded_sage02:04:52

Hey is anyone here able to give me some pointers on Github?

rafd04:04:07

@grounded_sage: I'm here, still need help?

grounded_sage04:04:20

I've submitted a pull request for moving user invites. https://github.com/braidchat/braid/pull/7 However I got stuck with the whole updating my forked repo and working on a branch thing. 1. Not sure how to properly open up my text editor on a specific branch. 2. Not sure how to run the server etc on that branch.

grounded_sage04:04:41

I had done it earlier. When I was playing around figuring it all out. When I got it I saved the working file and then deleted my folder and re-downloaded it from my own fork.

grounded_sage04:04:01

To try and work on my own fork etc.

rafd04:04:54

would you mind if we use screenhero? it will be the fastest way to debug

rafd04:04:27

i sent you an invite

grounded_sage04:04:31

Ok do I need to download something for that?

grounded_sage04:04:40

Just waiting on that to come through... I'm going to quickly grab some food as I haven't eaten yet and it's like 2pm here.

rafd04:04:05

i was actually about to head to bed... re: your questions:

rafd04:04:34

you can change the branch your repository is on through terminal (or SourceTree if you use a GUI)

rafd04:04:41

git checkout branch-name

rafd04:04:55

this will change the files in your project folder to be those in the branch

rafd04:04:12

if you have figwheel running, it should automatically pick up the changes

rafd04:04:41

if there are server changes, then you need to run (start-server! 5555) from the repl again

rafd04:04:00

you typically don't need to restart your REPLs (unless the dependencies changed in project.clj)

rafd04:04:19

if you're new to git, I recommend: https://www.sourcetreeapp.com/

grounded_sage04:04:33

Ok sorry. It's fine we can Sceenhero another time. I'll work on some other issues. simple_smile

rafd04:04:50

thanks for the PR, I'll give it a test when I get up tomorrow

grounded_sage04:04:52

Ok I wasn't running dev environment during making new branch etc. Now I know it just works. So if I open files in my text editor that will be from the branch?

grounded_sage04:04:09

Awesome. No problems then

rafd04:04:15

what editor are you using?

rafd04:04:52

cool. one thing to double check, b/c I haven't used it, is whether it detects the file has changed from elsewhere

rafd04:04:12

probably does, but worth a sanity check

rafd04:04:24

(ie change a file in another editor and see if spacemacs picks up on the changes automatically)

grounded_sage04:04:39

In meantime I can always close and restart it if it doesn't. I would assume it would though.

rafd04:04:26

i'd test out to see what it does

rafd04:04:10

vim for example doesn't do it for me automatically ( but it does warn me when I try to save that the file was changed since I last opened)

grounded_sage04:04:35

yep it auto updates

grounded_sage04:04:47

also tells me what branch I am on

rafd04:04:03

there's probably a way to do checkouts from within spacemacs

grounded_sage04:04:46

There's a lot of things I can do. Just doing it in small bite sized pieces so I don't blow everything up haha

grounded_sage04:04:43

The only other issue I have is figuring out how to work from within the repl. Like going into a file and playing around with functions etc. Sometimes I can get it sometimes I don't.

grounded_sage04:04:59

But we can do that another time. Don't want to keep you up.

rafd04:04:33

if its the clj repl, you can go into a namespace with (ns the.namespace)

rafd04:04:51

for cljs, its (in-ns 'the.namespace)

rafd04:04:01

let me know when you decide what feature to work on next; I have another new contributor and will need to balance splitting the easy-ish tasks between you two

grounded_sage04:04:14

Ok what timezone are they? Because I am going to maybe work on another one but now sure yet. If the he/she is in here I can probably talk communicate directly as well.

rafd04:04:46

same as me, EST; I will get him to join

grounded_sage04:04:16

Ok no worries. Anyways I'm off to grab a bite. Thanks for the help!

rafd04:04:04

np, enjoy

rafd04:04:49

@grounded_sage: I will also invite you to our Asana project; you don't keep checking it and you could turn email updates off if you like, it just lets me mark tasks as belonging to you (and sync that w/ github)

grounded_sage06:04:37

I noticed we have moved to Garden which is pretty awesome.

grounded_sage06:04:16

Though I did I complete redownload on the files and there is now an error when getting it all set up. Seems to be the same error I got when I opened page without building the Less files. Had a solid look around but it's a bit hard for me to work out where to start with fixing it.

rafd06:04:51

@grounded_sage: close any browser tabs you have open with the project

rafd06:04:21

then restart figwheel

rafd06:04:47

oops, figwheel was still set to watch the css directory (which does not exist anymore) --- pull the latest master and try again

grounded_sage06:04:52

haha hope I didnt wake you

grounded_sage07:04:04

I'm still getting the same error 😕