http://bugzilla.meego.com/show_bug.cgi?id=838

           Summary: command line + syncevo-dbus-server: avoid hard-coding
                    env variables
    Classification: MeeGo Projects
           Product: SyncEvolution
           Version: unspecified
          Platform: All
        OS/Version: IA
            Status: ASSIGNED
          Severity: enhancement
          Priority: Undecided
         Component: SyncEvolution
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected],
                    [email protected]
   Estimated Hours: 0.0


As part of http://bugzilla.moblin.org/show_bug.cgi?id=10477 we added
transmitting certain well-known env variables from the command line client to
the server, which uses them when running a sync. This is only a short-term
solution (famous last words...).

Long term solution:
- introduce a registry of env variables
- store them in the current session instead of using setenv()
- remove all direct "getenv" calls, route them through some
  code which knows about the current session and retrieves
  variables from there before falling back to getenv()

This works for "http_proxy" because we check that variable ourselves and then
override the transport settings.

-- 
Configure bugmail: http://bugzilla.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to