Skip to content

Commit 8b77f64

Browse files
committed
cppdep 0.1.0
- Add changelog - Change development status to Beta
1 parent 344244f commit 8b77f64

File tree

5 files changed

+63
-15
lines changed

5 files changed

+63
-15
lines changed

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/)
6+
7+
8+
## [Unreleased]
9+
10+
## [0.1.0] - 2017-01-05
11+
### Added
12+
- The original ldep '-l|-L' options to print dependencies (#20)
13+
- '-o' to print reports into a file
14+
- Warn about duplicate and redundant includes (#13)
15+
- Extended definition for 'Component' (#7)
16+
- PEP-257 conformance (#2)
17+
- PEP-8 conformance (#1)
18+
- Python 3 support
19+
- PyPI package
20+
- XML configuration example and RNG schema
21+
- Travis CI (Linux, OS X) and AppVeyor CI (Windows) setups
22+
23+
### Changed
24+
- Differentiate 'paths' into source, include, and alias.
25+
- Print warnings to stderr instead of stdout (#12)
26+
- Report Component levels instead of Graph layers (#9)
27+
- Refactor the procedural design into the object-oriented design (#4)
28+
- Change '-f' flag into '-c' flag
29+
- Replace optparse with argparse
30+
- XML configuration file format
31+
32+
### Removed
33+
- Redundant printing a list of cumulative dependencies (#20)
34+
- Indirect missing-header include warnings
35+
- Global cross-package and cross-package-group component dependency analysis
36+
- 'details-of-components/--debug' verbosity
37+
- ``dot2any.py`` helper script
38+
- Manual profiling code (use ``pyvmmonitor`` instead)
39+
- Manual testing code (automated with ``nosetest``)
40+
41+
### Fixed
42+
- Level 0 External components missing from the report and graph (#21)
43+
- Incorrect dependency processing with file basenames (#6)
44+
- Wrong level calculation for cycles (#8)
45+
- Double counting of common components in CCD calculations (#11)
46+
- Missing cycles from the Dot graph (#10)
47+
- Outdated networkx API usage
48+
49+
50+
## [0.0.0] - 2016-09-24
51+
Big Bang: fork https://github.com/yuzhichang/cppdep

README.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ which is provided by John Lakos' book
2929
Differences from dep_utils
3030
==========================
3131

32-
- Rewrite in Python, unifying ``adep/cdep/ldep`` into one tool.
33-
- Project analysis configuration with an XML file.
34-
- Remove file alias support
35-
since the file name length limitation is much more relaxed than it was 20 years ago.
36-
- Support for multiple package groups and packages
37-
- Support for exporting final dependency graph to Graphviz dot format.
32+
- Rewrite in Python, unifying ``adep/cdep/ldep`` into one tool
33+
- Project analysis configuration with an XML file
34+
- No file alias support for the archaic file-name length limitations.
35+
- An extended notion of Component (header- or source-only)
36+
- Support for multiple packages and package groups
37+
- Support for exporting final dependency graph to Graphviz dot format
3838

3939

4040
Limitations
@@ -134,8 +134,6 @@ External links
134134
#. Experimental packaging of ``dep_utils`` source code:
135135
https://sourceforge.net/projects/introspector/files/lsc-large-scale-c/first-release/
136136

137-
#. `The discussion on C++ project dependency analysis <http://stackoverflow.com/questions/1137480/visual-c-project-dependency-analysis>`_
138-
139137
#. `Nmdepend <http://sourceforge.net/projects/nmdepend/>`_,
140138
a lightweight 'link-time' dependency analyzer for C++
141139
using object files and libraries instead of source-code as input.

cppdep.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
#
3-
# Copyright (C) 2016 Olzhas Rakhimov
3+
# Copyright (C) 2016-2017 Olzhas Rakhimov
44
# Copyright (C) 2010, 2014 Zhichang Yu
55
#
66
# This program is free software; you can redistribute it and/or modify
@@ -35,7 +35,7 @@
3535
from graph import Graph
3636

3737

38-
VERSION = '0.0.7' # The latest release version.
38+
VERSION = '0.1.0' # The latest release version.
3939

4040
# Allowed common abbreviations in the code:
4141
# ccd - Cumulative Component Dependency (CCD)

graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
#
3-
# Copyright (C) 2016 Olzhas Rakhimov
3+
# Copyright (C) 2016-2017 Olzhas Rakhimov
44
# Copyright (C) 2010, 2014 Zhichang Yu
55
#
66
# This program is free software; you can redistribute it and/or modify

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"""The setup script to generate dist files for PyPi.
33
44
To upload the release to PyPi:
5-
$ ./setup.py sdist
6-
$ ./setup.py bdist_wheel --universal
5+
$ ./setup.py sdist bdist_wheel --universal
76
$ twine upload dist/*
87
"""
98

@@ -14,7 +13,7 @@
1413
setup(
1514
name="cppdep",
1615
version=cppdep.VERSION,
17-
maintainer='Olzhas Rakhimov',
16+
maintainer="Olzhas Rakhimov",
1817
maintainer_email="[email protected]",
1918
description="Dependency analyzer for C/C++ projects",
2019
download_url="https://github.com/rakhimov/cppdep",
@@ -27,7 +26,7 @@
2726
entry_points={"console_scripts": ["cppdep = cppdep:main"]},
2827
long_description=open("README.rst").read(),
2928
classifiers=[
30-
"Development Status :: 3 - Alpha",
29+
"Development Status :: 4 - Beta",
3130
"Intended Audience :: Developers",
3231
"Topic :: Software Development :: Quality Assurance",
3332
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",

0 commit comments

Comments
 (0)