Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 5
Seite [1]
Mindcrime


Geekboy





Beiträge: 1155
# Thema - 26.07.2010 um 21:11 Uhr
Es waehre schoen wenn ihr mal nicht jeden tag ohne grund die reihenfolge der zeilen in die SQL dateien komplett aendert. So wird es fuer uns unmoeglich um die diffs zu lesen...

Beispiel:
updates/nr24_2009.0.3.1_to_2010.0_SVN.sql (27. Mai)
 
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
1. / 2. / ... 
 UPDATE {pre}_options SET options_value '2010.0_SVN' WHERE options_mod 'clansphere' AND options_name 'version_name';
UPDATE {pre}_options SET options_value '2010-05-05' WHERE options_mod 'clansphere' AND options_name 'version_date';
UPDATE {pre}_options SET options_value 53 WHERE options_mod 'clansphere' AND options_name 'version_id';

INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('clansphere','maintenance_access','3');

INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('partner','last_id','1');

UPDATE {pre}_options SET options_mod 'ckeditor' WHERE options_mod 'fckeditor';
UPDATE {pre}_options SET options_value 'ckeditor' WHERE options_mod 'abcode' AND options_value 'fckeditor';
UPDATE {pre}_options SET options_value 'kama' WHERE options_mod 'ckeditor' AND options_name 'skin';
ALTER TABLE {pre}_access ADD access_ckeditor int(2NOT NULL default '0';
UPDATE {pre}_access SET access_ckeditor access_fckeditor;
ALTER TABLE {pre}_access DROP access_fckeditor;

INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('users''nextbirth_max_users''5');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('users''navbirth_max_users''5');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('users''nextbirth_time_interval''1209600');

INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('linkus','max_width','470');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('linkus','max_height','100');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('linkus','max_size','256000');

ALTER TABLE {pre}_users ADD users_abomail int(1NOT NULL default '1';
ALTER TABLE {pre}_access ADD access_notifymods int(2NOT NULL default '0';

CREATE TABLE {pre}_notifymods (
  
notifymods_id {serial},
  
notifymods_user int(8NOT NULL,
  
notifymods_gbook int(2NOT NULL default '0',
  
notifymods_joinus int(2NOT NULL default '0',
  
notifymods_fightus int(2NOT NULL default '0',
  
PRIMARY KEY (notifymods_id)
) {
engine};

ALTER TABLE {pre}_notifymods ADD notifymods_files int(2NOT NULL default '0';

ALTER TABLE {pre}_abcode ADD abcode_order int(2NOT NULL default '0';
CREATE INDEX {pre}_abcode_abcode_order_index ON {pre}_abcode (abcode_order);

ALTER TABLE {pre}_cupsquads ADD squads_name varchar(80NOT NULL default '';

ALTER TABLE {pre}_replays ADD replays_mirror_names text;
ALTER TABLE {pre}_replays ADD replays_mirror_urls text;
UPDATE {pre}_replays SET replays_mirror_names replays_mirrors;
UPDATE {pre}_replays SET replays_mirror_urls replays_mirrors;
ALTER TABLE {pre}_replays DROP replays_mirrors;

ALTER TABLE {pre}_notifymods ADD notifymods_board int(2NOT NULL default '0';

INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('contact''smtp_user''');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('contact''smtp_pw''');

CREATE TABLE {pre}_usernicks (
    
usernicks_id {serial},
    
users_id int(8NOT NULL default '0',
    
users_nick varchar(255NOT NULL default '',
    
users_changetime int(8NOT NULL default '0',
    
PRIMARY KEY (usernicks_id)
) {
engine};


updates/nr24_2009.0.3_to_2010.0_beta_1.sql (20. Juni)
 
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
1. / 2. / ... 
 UPDATE {pre}_options SET options_value '2010.0 beta 1' WHERE options_mod 'clansphere' AND options_name 'version_name';
UPDATE {pre}_options SET options_value '2010-06-19' WHERE options_mod 'clansphere' AND options_name 'version_date';
UPDATE {pre}_options SET options_value 54 WHERE options_mod 'clansphere' AND options_name 'version_id';

CREATE TABLE {pre}_notifymods (
  
notifymods_id {serial},
  
notifymods_user int(8NOT NULL default '0',
  
notifymods_gbook int(2NOT NULL default '0',
  
notifymods_joinus int(2NOT NULL default '0',
  
notifymods_fightus int(2NOT NULL default '0',
  
notifymods_files int(2NOT NULL default '0',
  
notifymods_board int(2NOT NULL default '0',
  
PRIMARY KEY (notifymods_id)
) {
engine};

CREATE TABLE {pre}_usernicks (
  
usernicks_id {serial},
  
users_id int(8NOT NULL default '0',
  
users_nick varchar(200NOT NULL default '',
  
users_changetime int(14NOT NULL default '0',
  
PRIMARY KEY (usernicks_id)
) {
engine};

INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('linkus','max_width','470');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('linkus','max_height','100');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('linkus','max_size','256000');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('clansphere','maintenance_access','3');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('clansphere''sec_remote''1');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('contact''smtp_user''');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('contact''smtp_pw''');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('partner','last_id','1');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('static''php_eval''0');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('users''nextbirth_max_users''5');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('users''navbirth_max_users''5');
INSERT INTO {pre}_options (options_modoptions_nameoptions_valueVALUES ('users''nextbirth_time_interval''1209600');

DELETE FROM {pre}_options WHERE options_mod 'ajax' AND options_name 'ajax_navlists';

UPDATE {pre}_options SET options_mod 'ckeditor' WHERE options_mod 'fckeditor';
UPDATE {pre}_options SET options_value 'ckeditor' WHERE options_mod 'abcode' AND options_value 'fckeditor';
UPDATE {pre}_options SET options_value 'kama' WHERE options_mod 'ckeditor' AND options_name 'skin';
ALTER TABLE {pre}_access ADD access_ckeditor int(2NOT NULL default '0';
UPDATE {pre}_access SET access_ckeditor access_fckeditor;
ALTER TABLE {pre}_access DROP access_fckeditor;

ALTER TABLE {pre}_replays ADD replays_mirror_names text;
ALTER TABLE {pre}_replays ADD replays_mirror_urls text;
UPDATE {pre}_replays SET replays_mirror_names replays_mirrors;
UPDATE {pre}_replays SET replays_mirror_urls replays_mirrors;
ALTER TABLE {pre}_replays DROP replays_mirrors;

ALTER TABLE {pre}_eventguests ADD eventguests_age int(4NOT NULL default '0';
ALTER TABLE {pre}_eventguests ADD eventguests_status int(2NOT NULL default '0';

ALTER TABLE {pre}_abcode ADD abcode_order int(2NOT NULL default '0';
CREATE INDEX {pre}_abcode_abcode_order_index ON {pre}_abcode (abcode_order);

ALTER TABLE {pre}_users ADD users_cookiehash varchar(80NOT NULL default '';
ALTER TABLE {pre}_users ADD users_cookietime int(14NOT NULL default '0';
ALTER TABLE {pre}_users ADD users_theme varchar(80NOT NULL default '';

ALTER TABLE {pre}_users ADD users_abomail int(2NOT NULL default '1';
ALTER TABLE {pre}_access ADD access_notifymods int(2NOT NULL default '0';

ALTER TABLE {pre}_cupmatches ADD cupmatches_tree_order int(6);

ALTER TABLE {pre}_wars ADD wars_report2 text;


Innerhalb 3 wochen werden hier 2 fast diesselbe dateien auf ein derartigen weise geaendert, das es total unuebersichtlich ist, was sich hier genau geaendert hat...

Da werden diff programme noch nichtmal mehr schlau wie und was...


Zuletzt editiert von Mindcrime am 26.07.2010 um 21:12 Uhr (1x Editiert)
Inaktiv
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 1 - 26.07.2010 um 21:19 Uhr
ich habe die einträge dadrin ein paar mal optimiert. dass dies zur verwirrung führt bzw. dadurch die änderungen nicht mehr richtig nachvollziehbar sind ist mir inzwischen bewusst. so etwas wird hoffentlich nicht mehr vorkommen, sorry


------------------
ClanSphere - professional clan care starts here

Inaktiv
|
Mindcrime
Thread-Ersteller


Geekboy





Beiträge: 1155
# Antwort: 2 - 02.08.2010 um 11:39 Uhr
Noch was, ich werde total verrueckt von die aenderungen in dateien die NUR lehrtasten oder copyright sind.

In zb die themes/base (aber auch im code) wurden ich weiss nicht wieviele dateien geaendert, aber NUR die leading spaces!

Wenn ich das merge mit meine webseite development branch, bekomme ich HUNDERTE geaenderte dateien wo eigentlich NICHTS geaendert wurde... Das kostet mir unglaublich viel arbeit/stunden um die diffs durch zu lesen um sehen ob was TATSAECHLICH geaendert wurde...


Inaktiv
|
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 3 - 02.08.2010 um 11:42 Uhr
gute diff tools kann man dahingehend einstellen, dass sie whitespace änderungen ignorieren, sowie auch geänderte zeilenumbrüche. auf der anderen seite verstehe ich deine argumentation schon, aber gegen sowas helfen nur einheitliche formatierungsregeln und die haben wir für coresphere immerhin aufgestellt grundlegend.


------------------
ClanSphere - professional clan care starts here

Inaktiv
|
Mindcrime
Thread-Ersteller


Geekboy





Beiträge: 1155
# Antwort: 4 - 02.08.2010 um 11:50 Uhr
Das problem, svn diff hat default nur -u (unified), kein -b (ignore number of whitespaces)

Man muss schon svn diff -x -ub machen um das zu tun. Aber es gibt halt stellen wo die anzahl whitespaces wichtig sind...


Inaktiv
|
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 5 - 02.08.2010 um 11:52 Uhr
das clansphere repository hat seit ein paar monaten auch einen GIT readonly klon, der per hook auf dem aktuellen stand gehalten wird, würde das eher helfen?


------------------
ClanSphere - professional clan care starts here

Inaktiv
|
Antworten: 5
Seite [1]


Sie müssen sich registrieren, um zu antworten.