PhD Seminar • Software Engineering • An Empirical Study on Dotfile Repositories Containing User-specific Configuration FilesExport this event to calendar

Friday, March 24, 2023 — 11:00 AM to 12:00 PM EDT

Please note: This PhD seminar will take place in DC 2564.

Wenhan (Cosmos) Zhu, PhD candidate
David R. Cheriton School of Computer Science

Supervisor: Professor Michael Godfrey

Storing user-specific configuration files in a “dotfiles” repository is a common practice among software developers. Hundreds of thousands of developers have chosen to host their own dotfile repository publicly on GitHub. Storing these configuration files allows developers to have a backup of their important configurations, and sharing them publicly enables developers to learn from other developers’ configurations. Templates for user-configuration files, such as .gitignore for git, are very popular among developers, and are among the top 10 most forked projects on GitHub.

Currently, we have only a limited and anecdotal understanding of the practices of storing and sharing user-specific configuration files. In this study, we aim to gain a better understanding of this phenomenon. We start by collecting a set of publicly hosted dotfile repositories from GitHub. We then investigate the prevalence of owning dotfiles of developers by verifying whether popular GitHub accounts have a dotfile repository. We further trace the dotfile repositories owners’ public profile to confirm they are actual developers. Based on the most common dotfiles from the dotfile repositories, we construct a taxonomy of dotfiles. We examine commits in dotfile repositories to understand why developers update their dotfiles. We then leverage state-of-the-art time-series clustering method to understand the code churn pattern of highly edited dotfiles.

We find that maintaining dotfiles is a common practice among developers. For example, 25.8% of the top 500 most-starred users on GitHub own a variant of a dotfile repository. Configurations for text editors (e.g., Vim) and shells (e.g., bash, zsh) are the most commonly tracked dotfiles. We found that adjusting configurations (63.3%) and dotfiles project-meta management (25.4%) are the most common reasons for updating the dotfile repository. We also found no significant difference in the type of dotfiles observed across the code churn history patterns, suggesting that how often are dotfiles modified depends more on the developer than properties of the specific dotfile. Finally, we discuss the challenges in managing dotfiles, such as the need for a reliable and effective deployment mechanism, and how the information contained in dotfiles can benefit tool designers by providing real-world usage information.

Location 
DC - William G. Davis Computer Research Centre
DC 2564
200 University Avenue West

Waterloo, ON N2L 3G1
Canada
Event tags 

S M T W T F S
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
  1. 2024 (119)
    1. May (5)
    2. April (37)
    3. March (27)
    4. February (25)
    5. January (25)
  2. 2023 (296)
    1. December (20)
    2. November (28)
    3. October (15)
    4. September (25)
    5. August (30)
    6. July (30)
    7. June (22)
    8. May (23)
    9. April (32)
    10. March (31)
    11. February (18)
    12. January (22)
  3. 2022 (245)
  4. 2021 (210)
  5. 2020 (217)
  6. 2019 (255)
  7. 2018 (217)
  8. 2017 (36)
  9. 2016 (21)
  10. 2015 (36)
  11. 2014 (33)
  12. 2013 (23)
  13. 2012 (4)
  14. 2011 (1)
  15. 2010 (1)
  16. 2009 (1)
  17. 2008 (1)