Created by Jay Pipes on 2011-01-29 and last modified on 2011-01-31
Get this branch:
bzr branch lp:~jaypipes/glance/use-optparse
Only Jay Pipes can upload to this branch. If you are Jay Pipes please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Jay Pipes

Recent revisions

62. By Jay Pipes on 2011-01-31

Removes glance.common.db.sqlalchemy and moves registration of models and create_engine into glance.registry.db.api.

61. By Jay Pipes on 2011-01-31

Merge yagni-db-adapter and resolve conflicts.

60. By Jay Pipes on 2011-01-31

Fixes lp710789 - use-optparse breaks daemonized process stop

Fix was simple. args = FLAGS(argv) returns ALL argv's including
the program name. optparse.OptionParser.parse_args() does not
return the program name as args[0], instead it returns args[1:].

In glance.common.server.serve(), we were checking:

action = 'start':
if len(args) > 1:
    action = args.pop()

Changing this to if len(args): fixed the problem.

59. By Jay Pipes on 2011-01-28

Rework what comes back from parse_options()[0] to not stringify option values. Keep them typed.

58. By Jay Pipes on 2011-01-28

Merge trunk

57. By Jay Pipes on 2011-01-28

Remove use of gflags entirely. Use optparse.

56. By Jay Pipes on 2011-01-27

Merge versioning patches

55. By Jay Pipes on 2011-01-27

version bumped after tarball cut. no review needed...

54. By Josh Kearney on 2011-01-26

PEP8 cleanup.

53. By Monty Taylor on 2011-01-26

Should fix the sphinx issue.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.