Is there a way to see an older version of a file on the local network, via http://localhost:3000/? - ruby-on-rails

I'm relatively new to RoR, and am trying to view an older git version through my browser. I've used git show and the advice from http://bit.ly/fjIjva to view details about the older version, however, I want to be able to go to http://localhost:3000/ and actually view what the older version looked like. Currently when I connect to the rails server, I can only view the current git version.
Thanks in advance for your help!

You could check out that file, but what you probably want to do is check out a previous revision. The command for this is git checkout. The manpage will tell you more about how to specify a revision and so on.

Related

How to get old version on TFS of c# project and make edits on it and check In the old version with edits?

I'm working on WPF c# project , I need to get specific version and make edits on it then check in the whole old version with my edits .
what I'm do is that I'm get Specific Version from TFS then make my edit then when check in i found that latest files before check In come again on my check In version , I didn't need them I just need the full old version with my edits.Please Advise..
You need to do a branch! get specific version will not help.
You need to make a branch for the customer, then fix the issue in the customer branch and the main branch
Seems you want to change the existing changeset, unfortunately you cannot do that.
If you want to get the old version sources, you can Rollback the changeset, you may need to resolve the conflicts during the rollback. (Rollback Command)
If you want to get back and edit the sources based on the old version, then you can create a new branch as Siraf mentioned (eg : Branch from specific changeset). Then you can track the later changes on this new branch ( edit and check in the changes into the new branch.)

Creating an app as a Team so both parties can edit code

My friend and I are creating an app and we are wondering if there is a way where we can both edit the code at the same time?
Don't use SVN. You will see how easy version control could be and later everywhere on the job people will use Git because it is "better" and you will get frustrated.
Just use Git from the beginning, stay happy, you will love it. Really! 😏
The default in Xcode is Git too, so it can't be wrong.
Just be aware that the interface in Xcode is offering you a filtered version of the Git commands. As soon as you really need it for anything you will end up on the command line.
Whatever you try there, the first few times it will fail until you have learned the propper syntax and all side effects. So just make a copy of the folder, or zip or tar it before you try it a simple git command.
Also SourceTree is nice, but same problem there, learn what every command really does.
Use git! Lets people edit code and track the progress of the project (among many other useful tools).
Git Tutorial
If you are looking for more of a 'Google Docs' atmosphere, I would look into Codr or Cloud9
You can use SourceTree a free git repository handler.

Xcode 6.1.1 - commit update faded and unable to use source control

Please help us setting up xcode in order to use with our svn repository.
We have our svn repository on local server 192.168.1.xx IP and we check out via http (http://192.168.1.xx/svn/xproject), I have mac mini which was upgraded with Yosemite. Ever since upgradation, Xcode (6.1.1) is not allowing to commit or update but only checkout is possible. Other options are in faded mode.
We used to have xcode 4.2 which worked fine. Please suggest what is step-by-step procedure to fix this problem and xcode for commit and update.
Are we missing any depending components to use xcode?
Have you tried to setup remote source control path? Like,
Goto Menu > Source Control > YOUR_REPO -- BRANCH > Configure YOUR_REPO (select this).
From this, you will get 3 tabbed window, 2nd one is for Report svn configuration. Please setup you svn repo path here.
May this help you.

Jenkins Update xcode app version to Hockeyapp

I'm developing a CI (Continuous Integration) for my application.
So, I'm using Jenkins with HockeyApp (equal to TestFlyApp).
The problem is that HopckeyApp only accepts new versions of an application if it different versions from the last one added, else it gives me an error of already existing version, and no update.
I was reading about the apple tool Agvtool to update the value CFBundleShortVersionString.
My main problems are,
how to do this in Jenkins automatically.
How to update the project repository (Git in my case),for the next build it knowing which is the last version that was updated, or any other option to keep track of the last version updated.
I am trying to do this, but other approach will be accepted has well.
Thanks in advance.
It is recommended to update the CFBundleVersion and not the CFBundleShortVersionString, see http://support.hockeyapp.net/kb/how-tos/how-to-do-versioning-for-beta-versions-on-ios-or-mac
The following blog posts goes through the whole setup and also shows how to automatically update the version number using git tags: http://monitzer.com/?p=75
Here is another approach using git to update the version number: https://gist.github.com/3395649

Previous versions of Membase

How do I download previous versions of Membase. I need 1.6.5.x.
The downloads page do not have links to previous builds.
You could try this page.
Alternatively, get the source from git (see instructions) -- make sure you check out the version used to build the required Membase version (I'm not familiar with git, but this page might give you enough leads).

Resources