Bug 303815 - Please divide project file.
Summary: Please divide project file.
Status: RESOLVED FIXED
Alias: None
Product: kile
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.1.0
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-19 18:56 UTC by Lisandro Damián Nicanor Pérez Meyer
Modified: 2016-11-16 10:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lisandro Damián Nicanor Pérez Meyer 2012-07-19 18:56:12 UTC
The project file (.kilepr) actually holds two types of info: which components (tex files) compose a project and the current status of the GUI.

The problem with this approach is that VCSs like git will mark this file changed whenever you change the cursor position (and save) and stuff like that.

It would be awesome to split this file into two components: a file which describes the project itselfs (files that are part of the project, for example) and a file that stores the current GUI settings, which can be safely ignored in a VCS.

Reproducible: Always
Comment 1 Michel Ludwig 2016-11-16 10:18:48 UTC
Git commit 26f0bc5549961f7d3097068aadc3764b8df4d91c by Michel Ludwig.
Committed on 16/11/2016 at 10:14.
Pushed by mludwig into branch 'master'.

Split project files into a structure and a GUI part

Initial patch by Eugene Shalygin.

REVIEW: 127551

M  +39   -17   src/dialogs/projectdialogs.cpp
M  +3    -0    src/dialogs/projectdialogs.h
M  +47   -19   src/kiledocmanager.cpp
M  +185  -73   src/kileproject.cpp
M  +60   -13   src/kileproject.h
M  +1    -1    src/kileversion.h

http://commits.kde.org/kile/26f0bc5549961f7d3097068aadc3764b8df4d91c