How to download Moodle 2.2.3+? - moodle

I am trying to analyze what changes were made to a Moodle site by running a diff on the filesystem with a fresh copy of Moodle. However, I was only able to download 2.2.3 from the Moodle site here https://download.moodle.org/stable22/
The site that I am working on is showing the version as 2.2.3+ (note the plus at the end), and there seem to be changes between the two versions. The release date is also a month later (May vs. June). Is there a place I can download the 2.2.3+ version?

You could try checking out the tag v2.2.4 on the Moodle repository
https://github.com/moodle/moodle/tree/v2.2.4
Then do a git log version.php to see if you can find the commit for the version you wanted.
The just git checkout xxxxx the commit that is the same version.
UPDATE : Actually you can do that on github
https://github.com/moodle/moodle/commits/v2.2.4/version.php

Related

Get Latest Version of library on Github

Folks, I am using the AnderWeb/discreteSeekBar in my app and there are newer features commited by another user here:
https://github.com/AnderWeb/discreteSeekBar/pull/27/commits
however I cannot get the latest version with those changes, does the author of the first version needs to approve and compile a new version and published on github??
thanks,
You can go to the fork directly and download the changes made by this user from his fork (In this specific scenario, this is the link you would go to: https://github.com/mystudylife/discreteSeekBar).
Note that these changes have probably not yet been checked by the main repo's organizer and therefore should be used with caution.

include version.txt in gh-pages

I am running project pages on github and add specific links for "fast access" to binaries for those who do not want to get complete sources. All works fine but there is no version information and noone can see if there is something new. So I want to add a line where actual version is displayed. Version number can be read from version.txt which is located in master branch. gh-pages do not support php so I cannot include this simple number easy. I do not want to use javascript because of not all browsers support this. Is there a simple way to display the version number which is in version.txt of master branch without editing each time gh-pages? Does gh-pages support any serverside includes?
Thanks for any idea
Andreas
I have got a workaround: I included image from my own server, and image there is created via php from text file located on GitHub...
Andreas

Is there way I can get static download link (for nuget) from codeplex?

I need static download link for nuget itself (Command line thing) , ideally for nuget source tarball.
The only way I can see to get nuget from source is via git but I can't be sure in git version, I can get git version on some commit but I even want to avoid git requirement so I need to know if there are already some places where I can get it.
The pattern for the download zips is:
http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=*projectNameHere*&changeSetId=*setIdHere*
So for the current build as of 7/28/2013 11:33 CST the link is
http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=nuget&changeSetId=2764f6c71ea206a60eb136c27c04005975712c19
You must include the changeset id and there is no automatic way I know of to find the latest id. Getting the id's themselves is easy, just click the History button and the changeset id will be in the address of the changeset you choose.

Issue starting to program for Facebook on PhoneGap (Eclipse)

so I'm working with PhoneGap on Eclipse and I'm having some issues "building the directory" to start programming. I'm following the steps from the original page but I don't understand some points (I'm Spanish and maybe it's a language problem) I usually can manage with it but after some tries this time I don't have any other chance than asking.
So this is the tutorial page https://github.com/davejohnson/phonegap-plugin-facebook-connect I'm stuck on the Android part.
3.- You'll need to build + include the Facebook Android SDK and build + patch the Facebook JavaScript SDK:
-First run *git submodule update --init* to initialize and pull down the versions of the JS and Android Facebook SDKs that work with this plugin; they will end up under lib/.
-Next, build the JS file. cd lib/facebook-js-sdk and run php all.js.php >> ../facebook_js_sdk.js. This will create the JS SDK file under lib/facebook_js_sdk.js. Please note: the output filename is important as the patch assumes that filename!
-cd .. and apply the patch file by running patch < facebook-js-patch.
This is the command git submodule update --init. I'm not sure where to run it, i've tryied on the terminal in all the proyect directories but it's allways returning the same problem: fatal: Not a git repository (or any of the parent directories): .git
If someone knows about this and can help me, i'd be so gratefull!!
Thank you.
Unfortunately those build instructions are old and need to be updated as the remainder of the steps do not work. Also if you are using the latest phonegap (now cordova-1.5.0.js) you will again run into problems.
If you're on a mac, this will be easy. Just hit up the github link you supplied above. Click the "clone in mac" button. You must have github for mac installed first! Once you do so, choose the place where you want it cloned and begin the clone. Now you have the latest from master. Since I'm using the cordova (latest phonegap build), I need the cordovachanges branch. In the github app you should be able to click branches > drop down on the cordovachanges branch and switch to it. Now all the plugin code should be mainly up to date. They're still patching and fixing things.
Follow the new directions. When you get to the build + include part, just open terminal, cd to the place where the git project was cloned to and "git submodule update --init" which will update the submodules. From there, the directions should work.

Bitbucket: Bind a file from tip to be download-able

I am working inside a private repository, and collaborate with my friend, who are not very friendly with SCM and stuff. All he need is to monitor the latest release from my development, which is 1 single executable file.
I was wondering instead of cloning the whole repo each time he want to get the latest changes (sometimes my changeset can consists of several large binary files that only being used upon development, not testing). Can I bind the executable file into the Download section in BitBucket?. So that everytime I build my project, the executable file will appear in the Download section and he can download it right away.
For now all I can see from Bitbucket's download section is just the manual upload and Tag/Snapshot download, which I presume will pack a certain changesets into a compressed file. Is there any chance I can do this?.
Thanks.
If your executable file is checked into the repository, you can link to it at a specific revision:
https://staging.bitbucket.org/<username>/<repo>/raw/<revision>/file.exe
For example, this link will always give you the latest stable hg(1) man page from the Mercurial repository:
https://bitbucket.org/mirror/mercurial/raw/stable/doc/hg.1.txt
This would give you latest README on the default branch from the Django repository:
https://bitbucket.org/django/django/raw/default/README
If your executable isn't checked into the repository (some prefer not to check in build artifacts), you'll need to manually upload them in the downloads section of your repository. There isn't a REST API for creating project downloads at the moment.
Would giving your friend an archive of the tip work? Try this URL:
https://bitbucket.org/<username>/<project>/get/tip.tar.gz
#Idan's suggestion might already work for you, but if the archive is too big, you could set up an extra repository for binaries which automatically gets updated, committed and pushed by your build process. Then your fellow developer could download a comparatively small tip archive as suggested by Idan.
In addition to Idan's answer:
To fetch the latest version from the 'default' branch:
https://bitbucket.org/<username>/<project>/get/default.tar.gz
You can replace 'default' by any other branch name, tag name or changeset (if you know it).