Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 7456] New: config_query_option doesn't start over when told to reconfigure

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 7456] New: config_query_option doesn't start over when told to reconfigure
  • Date: Tue, 5 Oct 2004 00:29:59 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=7456

Summary: config_query_option doesn't start over when told to
reconfigure
Product: Sorcery
Version: Test
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: subroutines
AssignedTo: vlmarek AT volny.cz
ReportedBy: eric AT sandall.us
CC: acedit AT armory.com,sm-sorcery-bugs AT lists.ibiblio.org


# sorcery -v
1.11.0-rc2

When I do `cast -r <package>` and said package uses config_query_option (which
normally appends and doesn't destroy the variable) it does not destroy the
prior
values to get a "clean" start.

e.g.
CONFIGURE:
config_query_option RAPTOR_LIST "Enable RDF XML?" y "rdfxml"
""
config_query_option RAPTOR_LIST "Enable N-Triples?" y "ntriples"
""
config_query_option RAPTOR_LIST "Enable Turtle?" y "turtle"
""
config_query_option RAPTOR_LIST "Enable RSS TagSoup?" y "rss-tag-soup"
""

# cast -r -c raptor
...
raptor running configuration...
Enable all parsers? [y]
Enable RDF XML? [y] y
Enable N-Triples? [y] n
Enable Turtle? [y] n
Enable RSS TagSoup? [y] n
...

With: RAPTOR_LIST = rdfxml
and: # grep RAPTOR_LIST /etc/sorcery/local/depends/raptor.p
RAPTOR_LIST="rdfxml"

Then:
# cast -r -c raptor
...
raptor running configuration...
Enable all parsers? [y] n
Enable RDF XML? [y] y
Enable N-Triples? [y] y
Enable Turtle? [y] y
Enable RSS TagSoup? [y] y

With: RAPTOR_LIST = rdfxml ntriples turtle rss-tag-soup
and: # !grep
grep RAPTOR_LIST /etc/sorcery/local/depends/raptor.p
RAPTOR_LIST="rdfxml ntriples turtle rss-tag-soup"

But then:
# cast -r -c raptor
...
raptor running configuration...
Enable all parsers? [y] n
Enable RDF XML? [y] n
Enable N-Triples? [y] n
Enable Turtle? [y] n
Enable RSS TagSoup? [y] n

With: RAPTOR_LIST = rdfxml ntriples turtle rss-tag-soup
and: # !grep
grep RAPTOR_LIST /etc/sorcery/local/depends/raptor.p
RAPTOR_LIST="rdfxml ntriples turtle rss-tag-soup"

So now when I pass RAPTOR_LIST to configure it still enables everything I just
said 'n' to.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



  • [SM-Sorcery-Bugs] [Bug 7456] New: config_query_option doesn't start over when told to reconfigure, bugzilla-daemon, 10/05/2004

Archive powered by MHonArc 2.6.24.

Top of Page