The following schema files are flagged to be EXCLUDED from the installed schema.

<snip>
31 # check if we need to include a SQL file
32 check-sql-file = $(shell egrep -i \
33         '^--[[:space:]]*EXCLUDE:[[:space:]]*(all|$(SCHEMA))' \
34         $(file) >/dev/null 2>&1 || echo $(file))
</snip>

The Makefile.schema ^^ seems to check for this comment and when found, excludes the file from the universal .sql file. Is this correct? If so, any reason we don't just remove them from the repo? Many of them will not load because then reference an non-existent packages rhn_email and rhn_ep anyway.


FILES:

packages/rhn_qos.grants.sql:-- EXCLUDE: all
packages/rhn_qos.pkb:-- EXCLUDE: all
packages/rhn_qos.pks:-- EXCLUDE: all
procs/create_first_org.sql:-- EXCLUDE: production
procs/entitle_order.sql:-- EXCLUDE: all
procs/adler32.sql:-- EXCLUDE: all
synonyms/rhnUser.satellite.sql:-- EXCLUDE: production
synonyms/web_customer_id_seq.sql:-- EXCLUDE: all
synonyms/web_customer.sql:-- EXCLUDE: all
synonyms/web_customer.sql:-- EXCLUDE: all
tables/rhnServerGroupMembers_email_triggers.sql:-- EXCLUDE: all
tables/rhnServerInfo-rescue.sql:-- EXCLUDE: all
tables/rhnSatelliteCert.sql:-- EXCLUDE: production
tables/rhnUserGroupMembers_email_triggers.sql:-- EXCLUDE: all
tables/rhnUserServerGroupPerms_triggers.sql:-- EXCLUDE: all
tables/rhnInfoPane_synonyms.sql:-- EXCLUDE: Satelitte
tables/rhnFAQ_satdata.sql:-- EXCLUDE: production
tables/rhnUserInfo_data.sql:-- EXCLUDE: all
tables/valid_countries.sql:-- EXCLUDE: production
views/rhnUserAvailableChannels_grants.sql:-- EXCLUDE: all
views/rhnAutoScheduleActionView.sql:-- EXCLUDE: all

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to