pw for remote code repo is smash
#####################################################
#####################################################
- Change the directory in render.rb
a_e_dir
to match after effects' working dir - Put the backlog sqs address in render
- finish configuring all the other stuff in
render.rb
- determine the
death_ratio
and set it inworker.rb
constant, defined at the top.
#####################################################
#####################################################
- This repo is part of a pair that works together for the rendering portion
of the rendering renderness of rendering jobs that is being done.
The two code bases are:
- ruby scripts
a.
render.rb
configuration b.worker.rb
main file plus logic to run the job c.job.rb
groups most of the s3 and file management together d.spot_maker.rb
is run in a master instance (not here) that spins up multiple instances that run off these ruby scripts and AE work.
- ruby scripts
a.
- These files work together with the After Effects project (currently located on the F: drive).
#####################################################
#####################################################
- create better bat file
- refactor for state-machine and client for V-3
#####################################################
#####################################################
- explanations syntax:
$
means at the shell prompt>
at the command line prompt, ruby, irb, debugging, certain git functions- numbers give you steps
- letters give you different branches in a tree of decisions to make
-
notes or things to verify
UPDATING LOCAL WITH REMOTE MASTER BRANCH
- make sure there's no changes locally, before you try to pull down the newest
- $ git status
- if you see files in red
2a. $ git diff
2a. see if you can look through the code that it shows you. lines with
-
prepended to them mean it is removed in your branch and it used to be there in the one you're comparing to.+
means the other way around. Usually removals are in red and additions are in green, to help you see what changes are there. 2a. if you can see that there wasn't anything really that changed you can do this 2a-option 1. this option resets everything and removes the changes for good. $ git reset --hard HEAD 2b. if you see a lot of changes or something that looks like it could have been intentional and not for testing, do these steps: 2b option 1. this option is easier but the person who made the changes won't automatically know where their changes went. $ git stash $ git status - verify you've got no changes to worry about $ git reset --hard HEAD 2b option 2. this option is preferable but harder $ git status - verify nothing sensative, like files with passwords etc is in the list - if there is and you're not comfortable making changes to the code do this: - do the steps in 2a and make sure you notify the other people who may have made the change - else open the files, make the necessary changes to revert the changes back to the state that thegit status
output told you about. git status should have showed the way it looked before the change was made. you just have to make the text in the file look like that text. - Do stuff until
git status
says something like "there's nothing to commit" - git pull --rebase
- hopefully that worked. if not, try to work through errors. you're now updated
############################################### TO CREATE A LOCAL BRANCH TO WORK ON if you haven't made changes yet but plan on it
- Do the steps from UPDATING LOCAL WITH REMOTE MASTER BRANCH
- $ git checkout -b go to town. you're on a new, freshly updated branch and you're ready to make a clean set of changes to push back up to the remote master.
############################################### TO PUSH CHANGES YOU'VE ALREADY MADE UP TO REMOTE MASTER if you have made changes and want to push them up
- $ git pull
- that will pull down the remote master code and tell you when it couldn't figure
out how to combine your code with it. It will say "merge conflict" or something to that effect. Open that file and remove the old changes and keep your changes and then save the file. Repeat that for all the files there were conflicts in.
- $ git commit -m 'add your message here explaining your change to us'
- git push
- hopefully all is well