Closed Bug 8019 Opened 25 years ago Closed 25 years ago

Create profile needs to copy contents from Defaults folder

Categories

(Core Graveyard :: Profile: BackEnd, defect, P3)

All
Other
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: selmer, Assigned: racham)

References

Details

For parity with 4.x, the profile creator must copy the contents from the
application's Defaults folder into every new profile.
Status: NEW → ASSIGNED
Target Milestone: M8
Blocks: 7921
So what's the status on this bug? Will it be fixed for M8? I am trying to get
7921 done.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Checked in the code to support the above. Here is the list of locations for the
defaults folder on the different platforms.

Win : \dist\ProfileDefaults
Mac : :Documents:Mozilla:ProfileDefaults
Unix : ~/.mozilla/ProfileDefaults
BeOS : mozilla/ProfileDefaults
Status: RESOLVED → REOPENED
Is there a compelling reason why we're not using the same defaults folder we've
used in every previous release?
The only reason (for not using name Defaults) is that the name Defaults is very
close the folder name Default which gets created when user chooses to create
profile named "default", i.e., a case where user does not override the default
profiole name "default". Though on Windows and Mac the Defaults (i.e.,
ProfileDefaults) folder lives one level above the profile directories, on Unx
and BeOS, the directory lives along with the profile directories. So to avoid
confusion (while maintaining the same name across all platforms), name
ProfileDefaults is picked.
Resolution: FIXED → ---
Clearing Fixed resolution since this has been Re-opened.
I can see the ProfileDefaults folder being created - but no information is being
stored-what should go there? data saved between builds? bookmarks--per 7921?
After talking to Bhuvan, it appears that the conflict with the name "Defaults"
is from the concept of putting this folder in with the profiles of a particular
user on Unix machines.  This concept is incorrect.  The Defaults folder is a
mechanism for distributors to change the default content of newly created
profiles and is not tied to a particular user as suggested.  In any case, where
would the content in the user directory come from?

For this to work properly, the Defaults folder needs to be created and filled by
the installer and then copied into every new profile as it's created by the
app.  For our internal usage, it's OK to check in a Defaults folder that lives
in the dist with the executable and put content in it to help people test
things.  This should probably live in the mozilla/profile directory in CVS and
it should have a makefile to move everything into the right place in the dist.
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
A directory named "defaults" is added to mozilla/profile. All the defaults files
that need to go into the directory of newly created profile live under this
folder. At present, only bookmarks.html exists in that folder. Makefiles in that
folder should be updated whenever a new file is added to that ("defaults")
directory. In the build process, files in the "defaults" folder gets copied to
the following destinations on different platforms.

Windows : <install directory>/defaults
Unix    : <install directory>/defaults
Mac     : <install directory>:Defaults

When a new profile is created, all the files in the above folder gets copied
into that profile directory.
Status: RESOLVED → VERIFIED
Component: Profile Manager → Profile Manager BackEnd
Moving all Profile Manager bugs to new Profile Manager Backend component.
Profile Manager component to be deleted.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.