create drupal patches with aptana

31
Creating patches without using the command line. Drupal CVS checkouts etc. Roy Scholten

Upload: roy-scholten

Post on 27-Jun-2015

4.127 views

Category:

Technology


1 download

DESCRIPTION

How to check out Drupal from CVS and create patches for it, all without using the command line.

TRANSCRIPT

Page 1: Create Drupal patches with Aptana

Creating patches without using the command line.Drupal CVS checkouts etc.

Roy Scholten

Page 2: Create Drupal patches with Aptana

Topics covered:

• Install the Aptana IDE• Install CVS plugin• Checkout Drupal HEAD• Create a patch

Page 3: Create Drupal patches with Aptana

1. Install Aptana

And make it work with CVS

Page 4: Create Drupal patches with Aptana

Download Aptana

Page 5: Create Drupal patches with Aptana

Install CVS 1

Page 6: Create Drupal patches with Aptana

Install CVS 2

Page 7: Create Drupal patches with Aptana

Install CVS 3

Page 8: Create Drupal patches with Aptana

Install CVS 4

Page 9: Create Drupal patches with Aptana

Install CVS 5

Page 10: Create Drupal patches with Aptana

2. Create a project to hold a Drupal CVS checkout.

Page 11: Create Drupal patches with Aptana

Aptana view

Page 12: Create Drupal patches with Aptana

Aptana project

Page 13: Create Drupal patches with Aptana

Import

Page 14: Create Drupal patches with Aptana

Repository information

Page 15: Create Drupal patches with Aptana

Select Module

Page 16: Create Drupal patches with Aptana

Check out as

Page 17: Create Drupal patches with Aptana

Location

Page 18: Create Drupal patches with Aptana

Select tag HEAD

Page 19: Create Drupal patches with Aptana

Checking out…

Page 20: Create Drupal patches with Aptana

Succes!

Page 21: Create Drupal patches with Aptana

3. Install this copy of Drupal as per usual.

(Not covered in this tutorial…)

Page 22: Create Drupal patches with Aptana

4. Make a patch

Improve a piece of the code, test it, create a patch and post it in the issue tracker.

Page 23: Create Drupal patches with Aptana

Aggregator.css example 1

Page 24: Create Drupal patches with Aptana

Aggregator.css example 2

Page 25: Create Drupal patches with Aptana

Create patch…

Page 26: Create Drupal patches with Aptana

Save patch as…

Page 27: Create Drupal patches with Aptana

Advanced options

Page 28: Create Drupal patches with Aptana

The patch file

Page 29: Create Drupal patches with Aptana

You have created a patch!

Page 30: Create Drupal patches with Aptana

Next steps…

• File an issue on drupal.org• Attach the patch• Fingers crossed…

Page 31: Create Drupal patches with Aptana

Good luck!

Roy Scholten

http://www.yoroy.com