I am second year student of B.Tech Computer Science and Engineering at International Institute of Information and Technology, Bhubaneswar, Odisha, India. I worked as a GSoC student under coala to improve coala’s I/O mechanism using FileFactory
class and adding features to provide more support for NextGen-Core’s caching mechanism.
11072a232d80160a6142e822b1ab66c28ccd4a72d6ea3762111ecdc922bb8479
Copy Hash valueRepository | Link to Commit/s | Description | |
c | cEPs | View | cEP-0026.md: Adds optimize caching cEP. |
p | projects | View | Updated the details of Optimize Caching project. |
p | projects | View | optimize_caching.md: Changed primary mentor from adtac to Makman2. |
d | devops | View | planet.ini: Add palash25 gsoc blog feed. |
c | coala | View | Added |
c | coala | View | Added |
c | coala | View | Added |
c | coala | View | NextGen_Core.rst: Update caching section. |
c | coala | View | IO.rst: Add FileFactory docs. |
c | coala | View | NextGen_Core.rst: Add link to IO docs. |
c | coala | View |
|
c | coala | View | A new attribute |
c | coala | View | Processing: Add middleware |
c | coala | View | Processing: Modify tests to use actual files instead of hard coded tuples as file content. |
c | coala | View | Added support for collection types like |
FileFactory
to interface with files and to provide file
contents in different forms like string, binary data or as a tuple.Directory
class to interface with directories and provide
useful information about them such as the directory path, parent
directory and timestamps. This will be later used to implement ignore
directories functionality.FileFactory
and improved the NextGen-Core
docs.FileFactory
which turned out to be a
significant performance boost in consecutive coala runs.persistent_hash
which improved the NextGen-Core’s ability to hash much more
complex task objects (which are used in NextGen caching).FileFactory
with the core.
FileFactory
.FileDict
that mimics a dictionary
and provides the bears in the old core with the actual file
contents instead of the FileFactory
objects thereby maintaining
backwards compatibility with the old core.FileFactory
objects
instead of hard-coded file contents.One of the first challenges I faced was designing the FileFactory
.
But with my mentors help we were able to come up with a design that
could be used for the NextGen-Core and also maintained compatibility
with the old core.
The biggest challenge that I faced these three months for the integration
of the aforementioned FileFactory
with the core. Initially about thirty
tests were failing but after discussing the idea of using a middleware
(FileDict
) to maintain backwards compatibilty with the old core the test
failures were significantly reduced to just six. After a while I discovered
that FileFactory
was somehow removing line-endings from the file contents
which was fixed by adding support for newlines in FileFactory
which in turn
led to a successful integration.
Two major features were left out because of time constraints: